diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-03 12:02:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-03 23:52:10 (GMT) |
commit | 9eb5bf838d06aa6ddebe4aca6b5cedcf2eb53b86 (patch) | |
tree | 12c3aa5b3242194880829d5b04369c53f087bfc1 /firmware/radeon/RS600_cp.bin.ihex | |
parent | 9caf83c32be1dabf000ab7dc8430fba4f7d89e65 (diff) | |
download | linux-fsl-qoriq-9eb5bf838d06aa6ddebe4aca6b5cedcf2eb53b86.tar.xz |
net: sock: fix TCP_SKB_MIN_TRUESIZE
commit eea86af6b1e18d ("net: sock: adapt SOCK_MIN_RCVBUF and
SOCK_MIN_SNDBUF") forgot the sk_buff alignment taken into account
in __alloc_skb() : skb->truesize = SKB_TRUESIZE(size);
While above commit fixed the sender issue, the receiver is still
dropping the second packet (on loopback device), because the receiver
socket can not really hold two skbs :
First packet truesize already is above sk_rcvbuf, so even TCP coalescing
cannot help.
On a typical 64bit build, each tcp skb truesize is 2304, instead of 2272
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Tested-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/radeon/RS600_cp.bin.ihex')
0 files changed, 0 insertions, 0 deletions