[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1303229503.3480.386.camel@edumazet-laptop>
Date: Tue, 19 Apr 2011 18:11:43 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Dmitry Kravkov <dmitry@...adcom.com>,
Eilon Greenstein <eilong@...adcom.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: [BUG] bnx2x: bnx2x_set_pbd_csum() random accesses
Hi guys
bnx2x_set_pbd_csum() / bnx2x_set_pbd_csum_e2() seem to read
tcp_hdrlen(skb) even for non TCP frames ?
Also, (skb_network_header(skb) - skb->data) is signed, so
(skb_network_header(skb) - skb->data) / 2 is a bit expensive...
Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists