summaryrefslogtreecommitdiff
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2025-07-19 00:06:56 +0200
committerJakub Kicinski <kuba@kernel.org>2025-07-21 17:48:32 -0700
commitedd669057c56966b598a464d6e8c9fc0122a1b1c (patch)
tree66b781dac44bb4f670126927cc9b8802d895df20 /include/linux/tcp.h
parent1b02c861714bf28814926d1fcb3c5594de960757 (diff)
mptcp: sockopt: drop redundant tcp_getsockopt
tcp_getsockopt() is called twice in mptcp_getsockopt_first_sf_only() in different conditions, which makes the code a bit redundant. The first call to tcp_getsockopt() when the first subflow exists can be replaced by going to a new label "get" before the second call. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250719-net-next-mptcp-tcp_maxseg-v2-1-8c910fbc5307@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions