svn commit: r236162 - stable/8/sys/dev/e1000
Ryan Stone
rstone at FreeBSD.org
Sun May 27 19:03:16 UTC 2012
Author: rstone
Date: Sun May 27 19:03:16 2012
New Revision: 236162
URL: http://svn.freebsd.org/changeset/base/236162
Log:
MFC r225640
Clear transmit checksum offload context state upon lem(4) interface
initialization. Prior to this change packets may be transmitted with an
incorrect checksum.
em(4) already has an equivalent change in r213234.
Obtained From: Sandvine
Modified:
stable/8/sys/dev/e1000/if_lem.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/e1000/ (props changed)
Modified: stable/8/sys/dev/e1000/if_lem.c
==============================================================================
--- stable/8/sys/dev/e1000/if_lem.c Sun May 27 18:57:20 2012 (r236161)
+++ stable/8/sys/dev/e1000/if_lem.c Sun May 27 19:03:16 2012 (r236162)
@@ -2655,6 +2655,7 @@ lem_setup_transmit_structures(struct ada
}
/* Reset state */
+ adapter->last_hw_offload = 0;
adapter->next_avail_tx_desc = 0;
adapter->next_tx_to_clean = 0;
adapter->num_tx_desc_avail = adapter->num_tx_desc;
More information about the svn-src-all
mailing list