bnx2x: properly update skb when mtu > 1500
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 12 Dec 2011 23:40:53 +0000 (23:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 18:30:45 +0000 (13:30 -0500)
commit036d2df9b3167598a9c9f1c13d9039f7e6cb0083
tree691f60d1fe4f2ae3238d8b3284aa8b24e25acbc3
parent90b41a1cd44cc4e507b554ae5a36562a1ba9a4e8
bnx2x: properly update skb when mtu > 1500

Since commit e52fcb2462ac484e6dd6e68869536609f0216938 newly allocated
skb for small packets are not updated properly and dropped by stack.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c