Commit ca5c827
mptcp: Handle TCP_MAXSEG getsockopt in common case
This patch simplifies MPTCP's TCP_MAXSEG getsockopt handling by moving it
to the common case where other TCP options are processed. Previously it
was handled separately after the main switch statement.
The change:
- Moves TCP_MAXSEG case into the main switch block
- Removes redundant separate handling
- Maintains identical functionality
This improves code consistency without altering behavior.
Signed-off-by: Geliang Tang <[email protected]>1 parent a3e13c5 commit ca5c827
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
| 1407 | + | |
1407 | 1408 | | |
1408 | 1409 | | |
1409 | 1410 | | |
| |||
1428 | 1429 | | |
1429 | 1430 | | |
1430 | 1431 | | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | 1432 | | |
1435 | 1433 | | |
1436 | 1434 | | |
| |||
0 commit comments