summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-02-13 04:47:12 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-13 07:11:40 -0800
commitba34e6d9d346fe4e05d7e417b9edf5140772d34c (patch)
treec0470809aa6a3e92fce6c0b37757ab58e75e9dc5 /sound
parent9672723973f1e70189b8409eb2da189a980481c5 (diff)
downloadop-kernel-dev-ba34e6d9d346fe4e05d7e417b9edf5140772d34c.zip
op-kernel-dev-ba34e6d9d346fe4e05d7e417b9edf5140772d34c.tar.gz
tcp: make sure skb is not shared before using skb_get()
IPv6 can keep a copy of SYN message using skb_get() in tcp_v6_conn_request() so that caller wont free the skb when calling kfree_skb() later. Therefore TCP fast open has to clone the skb it is queuing in child->sk_receive_queue, as all skbs consumed from receive_queue are freed using __kfree_skb() (ie assuming skb->users == 1) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Fixes: 5b7ed0892f2af ("tcp: move fastopen functions to tcp_fastopen.c") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud