commit 92e55f412cffd016cc245a74278cb4d7b89bb3bc 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: bf99b4ded5f8 ("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>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ccids | Loading commit data... | |
Kconfig | Loading commit data... | |
Makefile | Loading commit data... | |
ackvec.c | Loading commit data... | |
ackvec.h | Loading commit data... | |
ccid.c | Loading commit data... | |
ccid.h | Loading commit data... | |
dccp.h | Loading commit data... | |
diag.c | Loading commit data... | |
feat.c | Loading commit data... | |
feat.h | Loading commit data... | |
input.c | Loading commit data... | |
ipv4.c | Loading commit data... | |
ipv6.c | Loading commit data... | |
ipv6.h | Loading commit data... | |
minisocks.c | Loading commit data... | |
options.c | Loading commit data... | |
output.c | Loading commit data... | |
probe.c | Loading commit data... | |
proto.c | Loading commit data... | |
qpolicy.c | Loading commit data... | |
sysctl.c | Loading commit data... | |
timer.c | Loading commit data... |