diff options
| author | Geliang Tang <[email protected]> | 2025-07-18 22:06:56 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-22 00:48:32 +0000 |
| commit | edd669057c56966b598a464d6e8c9fc0122a1b1c (patch) | |
| tree | 66b781dac44bb4f670126927cc9b8802d895df20 /net/ipv4/tcp.c | |
| parent | s390/qeth: Make hw_trap sysfs attribute idempotent (diff) | |
| download | kernel-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
