diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-02 23:33:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-03 13:18:37 -0400 |
commit | 715dc1f342713816d1be1c37643a2c9e6ee181a7 (patch) | |
tree | 493d46be738d5cacba3ba110c2aa35e58e53cb93 /net/ipv4/tcp_input.c | |
parent | af94bf6db1d58d26f1cdab145b6312ad363254a6 (diff) | |
download | talos-obmc-linux-715dc1f342713816d1be1c37643a2c9e6ee181a7.tar.gz talos-obmc-linux-715dc1f342713816d1be1c37643a2c9e6ee181a7.zip |
net: Fix truesize accounting in skb_gro_receive()
GRO is very optimistic in skb truesize estimates, only taking into
account the used part of fragments.
Be conservative, and use more precise computation, so that bloated GRO
skbs can be collapsed eventually.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions