From 11dc48dfde7c159431cb82cde10ab9be5125b780 Mon Sep 17 00:00:00 2001 From: Ryan Stone Date: Sat, 17 Sep 2011 13:48:09 +0000 Subject: [PATCH] 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 MFC After: 1 week Approved by: re (bz) --- sys/dev/e1000/if_lem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c index d4bd1b6a3a02..a9202f0076b9 100644 --- a/sys/dev/e1000/if_lem.c +++ b/sys/dev/e1000/if_lem.c @@ -2654,6 +2654,7 @@ lem_setup_transmit_structures(struct adapter *adapter) } /* 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;