Herbert Xu a0a69a0106 gro: Fix use after free in tcp_gro_receive
After calling skb_gro_receive skb->len can no longer be relied
on since if the skb was merged using frags, then its pages will
have been removed and the length reduced.

This caused tcp_gro_receive to prematurely end merging which
resulted in suboptimal performance with ixgbe.

The fix is to store skb->len on the stack.

Reported-by: Mark Wagner <mwagner@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-17 02:34:38 -07:00
..
2008-11-25 17:59:27 -08:00
2008-07-16 20:20:11 -07:00
2008-11-25 17:59:27 -08:00
2009-03-03 01:14:15 -08:00
2008-11-25 17:30:50 -08:00
2008-10-07 08:38:24 +11:00
2009-02-16 00:08:56 -08:00
2008-06-11 21:00:38 -07:00
2008-11-03 18:21:05 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:14 -08:00
2009-04-14 02:08:53 -07:00
2009-03-15 20:09:52 -07:00
2009-03-13 16:05:14 -07:00
2008-12-09 00:13:04 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00