aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2025-07-18 22:06:56 +0000
committerJakub Kicinski <[email protected]>2025-07-22 00:48:32 +0000
commitedd669057c56966b598a464d6e8c9fc0122a1b1c (patch)
tree66b781dac44bb4f670126927cc9b8802d895df20 /net/ipv4/tcp.c
parents390/qeth: Make hw_trap sysfs attribute idempotent (diff)
downloadkernel-edd669057c56966b598a464d6e8c9fc0122a1b1c.tar.gz
kernel-edd669057c56966b598a464d6e8c9fc0122a1b1c.zip
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 <[email protected]> Reviewed-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions