diff options
author | David S. Miller <davem@davemloft.net> | 2013-03-20 17:46:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 17:46:26 +0100 |
commit | 61816596d1c9026d0ecb20c44f90452c41596ffe (patch) | |
tree | 3027ed6dc62f71e14b9d525405747fa0eb8f074d /net/ipv4/tcp.c | |
parent | net: fix psock_fanout selftest hash collision (diff) | |
parent | net: fec: Define indexes as 'unsigned int' (diff) | |
download | linux-61816596d1c9026d0ecb20c44f90452c41596ffe.tar.xz linux-61816596d1c9026d0ecb20c44f90452c41596ffe.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull in the 'net' tree to get Daniel Borkmann's flow dissector
infrastructure change.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 17a6810af5c8..a96f7b586277 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -766,7 +766,7 @@ struct sk_buff *sk_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp) * Make sure that we have exactly size bytes * available to the caller, no more, no less. */ - skb->avail_size = size; + skb->reserved_tailroom = skb->end - skb->tail - size; return skb; } __kfree_skb(skb); |