Files
linux/net/ipv6
Pablo Neira 0d4c19ee68 tcp: don't annotate mark on control socket from tcp_v6_send_response()
commit 92e55f412c upstream.

Unlike ipv4, this control socket is shared by all cpus so we cannot use
it as scratchpad area to annotate the mark that we pass to ip6_xmit().

Add a new parameter to ip6_xmit() to indicate the mark. The SCTP socket
family caches the flowi6 structure in the sctp_transport structure, so
we cannot use to carry the mark unless we later on reset it back, which
I discarded since it looks ugly to me.

Fixes: bf99b4ded5 ("tcp: fix mark propagation with fwmark_reflect enabled")
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-18 15:11:44 +01:00
..
2015-08-25 13:37:31 -07:00
2016-09-10 23:12:51 -07:00
2016-11-28 16:13:01 -05:00
2016-05-31 14:07:49 -07:00
2016-09-10 23:12:52 -07:00
2017-01-15 13:42:53 +01:00
2017-02-04 09:47:10 +01:00
2017-02-18 15:11:43 +01:00
2016-06-27 15:06:17 -04:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2016-11-24 15:32:14 -05:00
2016-09-21 10:09:14 +02:00
2016-09-21 10:09:14 +02:00