Commit dd91341
mptcp: fix poll after shutdown
The current mptcp_poll() implementation gives unexpected
results after shutdown(SEND_SHUTDOWN) and when the msk
status is TCP_CLOSE.
Set the correct mask.
Fixes: 8edf086 ("mptcp: rework poll+nospace handling")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 15cc104 commit dd91341
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3321 | 3321 | | |
3322 | 3322 | | |
3323 | 3323 | | |
3324 | | - | |
| 3324 | + | |
3325 | 3325 | | |
3326 | 3326 | | |
3327 | 3327 | | |
| |||
3354 | 3354 | | |
3355 | 3355 | | |
3356 | 3356 | | |
| 3357 | + | |
| 3358 | + | |
3357 | 3359 | | |
3358 | 3360 | | |
3359 | 3361 | | |
| |||
0 commit comments