[PATCH] sk98lin: fix checksumming code
Remove code from sk98lin that does it's own checksum validation. This code is incorrect when dealing with nested protocols like VLAN's, and it is better to use regular receive code path to handle hardware checksum. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
committed by
Jeff Garzik
parent
a174fd88d2
commit
596f86a8d8
@@ -425,10 +425,6 @@ struct s_AC {
|
||||
TX_PORT TxPort[SK_MAX_MACS][2];
|
||||
RX_PORT RxPort[SK_MAX_MACS];
|
||||
|
||||
unsigned int CsOfs1; /* for checksum calculation */
|
||||
unsigned int CsOfs2; /* for checksum calculation */
|
||||
SK_U32 CsOfs; /* for checksum calculation */
|
||||
|
||||
SK_BOOL CheckQueue; /* check event queue soon */
|
||||
SK_TIMER DrvCleanupTimer;/* to check for pending descriptors */
|
||||
DIM_INFO DynIrqModInfo; /* all data related to DIM */
|
||||
|
Reference in New Issue
Block a user