Commit e222399
mptcp: use tcp_build_frag()
mptcp_push_pending() is called even on orphaned
msk (and orphaned subflows), if there is outstanding
data at close() time.
To cope with the above MPTCP needs to handle explicitly
the allocation failure on xmit. The newly introduced
do_tcp_sendfrag() allows that, just plug it.
We can additionally drop a couple of sanity checks,
duplicate in the TCP code.
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>1 parent b796d04 commit e222399
1 file changed
+8
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
1004 | 999 | | |
1005 | 1000 | | |
| 1001 | + | |
1006 | 1002 | | |
1007 | 1003 | | |
1008 | 1004 | | |
| |||
1026 | 1022 | | |
1027 | 1023 | | |
1028 | 1024 | | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
| 1025 | + | |
1033 | 1026 | | |
1034 | | - | |
1035 | | - | |
| 1027 | + | |
1036 | 1028 | | |
1037 | 1029 | | |
1038 | 1030 | | |
1039 | 1031 | | |
1040 | 1032 | | |
1041 | | - | |
1042 | | - | |
| 1033 | + | |
1043 | 1034 | | |
1044 | 1035 | | |
1045 | 1036 | | |
| |||
0 commit comments