[BUG] bnx2x: bnx2x_set_pbd_csum() random accesses

Eric Dumazet
2011-04-19T16:11:48Z

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