From: David Woodhouse Date: Thu, 6 Dec 2007 10:36:08 +0000 (+0000) Subject: libertas: Don't claim to have checksummed incoming packets. X-Git-Tag: v2.6.25-rc1~1162^2~438 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9088566176cb7f7361e862557eb20adfdd1bfc1f;p=linux-2.6 libertas: Don't claim to have checksummed incoming packets. This explains why we never noticed the corruption of checksums on outgoing packets... we weren't actually checking them either. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index fa467dfef0..a252a8f74b 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c @@ -147,7 +147,7 @@ void lbs_upload_rx_packet(struct lbs_private *priv, struct sk_buff *skb) else skb->protocol = eth_type_trans(skb, priv->dev); } - skb->ip_summed = CHECKSUM_UNNECESSARY; + skb->ip_summed = CHECKSUM_NONE; netif_rx(skb); }