aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2021-05-25 21:23:10 +0000
committerDavid S. Miller <[email protected]>2021-05-25 22:56:20 +0000
commit20b5759f21cf53a0e03031bd3fe539e332b13568 (patch)
tree1e4608d2155e141f7edfd383e65e9e4462f087f8 /tools/bpf/bpftool/prog.c
parentnfp: update maintainer and mailing list addresses (diff)
downloadkernel-20b5759f21cf53a0e03031bd3fe539e332b13568.tar.gz
kernel-20b5759f21cf53a0e03031bd3fe539e332b13568.zip
mptcp: avoid OOB access in setsockopt()
We can't use tcp_set_congestion_control() on an mptcp socket, as such function can end-up accessing a tcp-specific field - prior_ssthresh - causing an OOB access. To allow propagating the correct ca algo on subflow, cache the ca name at initialization time. Additionally avoid overriding the user-selected CA (if any) at clone time. Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/182 Fixes: aa1fbd94e5c7 ("mptcp: sockopt: add TCP_CONGESTION and TCP_INFO") Acked-by: Florian Westphal <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions