aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2009-04-17 02:34:38 -0700
committerDavid S. Miller <[email protected]>2009-04-17 02:34:38 -0700
commita0a69a0106dab8d20596f97f6674bed3b394d1ee (patch)
tree2477a32cab5f8afdb1c158f0b151048ee7afc594 /net/lapb/lapb_iface.c
parent9dd014eb9804f19d6230c3cbc10fa25f5416bda7 (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions