Date: Sun, 27 May 2012 19:03:16 +0000 (UTC) From: Ryan Stone <rstone@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r236162 - stable/8/sys/dev/e1000 Message-ID: <201205271903.q4RJ3Gw8066564@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205271903.q4RJ3Gw8066564>