Eric Dumazet
ba34e6d9d3
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>
2015-02-13 07:11:40 -08:00
..
2014-12-05 12:43:04 +01:00
2014-10-15 10:25:04 +10:30
2015-01-23 17:51:15 -08:00
2014-11-24 04:28:48 -05:00
2014-12-09 16:29:03 -05:00
2014-11-24 04:28:48 -05:00
2015-01-07 22:17:11 +01:00
2015-02-03 09:02:12 +01:00
2015-02-12 08:44:46 -08:00
2015-01-29 14:20:02 -08:00
2015-01-18 01:03:45 -05:00
2015-01-08 20:36:57 +03:00
2015-02-11 15:12:12 -08:00
2014-11-16 14:50:52 -05:00
2014-12-10 22:41:55 -05:00
2015-01-18 23:36:08 -05:00
2015-02-09 14:05:42 -08:00
2015-01-02 15:46:41 -05:00
2015-01-18 01:03:45 -05:00
2015-02-13 07:11:40 -08:00
2015-02-12 07:13:03 -08:00
2014-11-24 04:28:49 -05:00
2015-01-30 18:08:25 -08:00
2014-12-10 22:41:55 -05:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2014-10-24 15:51:42 -04:00
2015-01-25 00:23:21 -08:00
2015-02-04 14:57:45 -08:00
2015-01-03 01:51:51 +01:00
2015-01-30 17:58:39 -08:00
2015-02-11 14:27:24 -08:00
2015-02-03 16:22:13 -08:00
2015-02-05 14:33:28 -08:00
2014-11-24 04:28:48 -05:00
2015-02-04 09:15:18 +01:00
2015-02-11 14:40:15 -08:00
2015-01-18 01:03:45 -05:00
2015-01-19 16:20:17 -05:00
2015-02-11 14:35:44 -08:00
2015-02-04 14:57:45 -08:00
2014-11-24 04:28:48 -05:00
2015-02-04 20:46:55 -08:00
2015-02-05 14:33:28 -08:00
2015-02-05 14:33:28 -08:00
2015-01-07 14:03:58 -05:00
2015-02-01 23:16:34 -08:00
2015-02-09 13:20:49 -08:00
2015-01-28 23:15:07 -08:00
2015-02-04 01:34:14 -05:00
2014-10-07 20:28:44 -04:00
2015-02-04 14:57:45 -08:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2014-12-09 16:29:03 -05:00
2014-12-02 20:01:20 -08:00
2014-12-16 15:53:03 -08:00
2015-02-04 01:34:15 -05:00