]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Expand 4g_overflow_test workaround to skb fragments of any size.
authorNithin Sujir <nsujir@broadcom.com>
Fri, 20 Dec 2013 01:44:11 +0000 (17:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Dec 2013 17:51:44 +0000 (12:51 -0500)
commitccd7daa6cbfb4cfd183947374ae84141f3368f0e
tree9b6a1c98a813167084e219931c1999fb989a63d6
parent7b17555bdbea8c58a712ccbca25ed871105a143e
tg3: Expand 4g_overflow_test workaround to skb fragments of any size.

The current driver assumes that an skb fragment can only be upto jumbo
size. Presumably this was a fast-path optimization. This assumption is
no longer true as fragments can be upto 32k.

v2: Remove unnecessary parantheses per Eric Dumazet.

Cc: stable@vger.kernel.org
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c