summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/ocelot/felix.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2020-06-29 22:26:25 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-29 17:29:38 -0700
commit8a05661b2b266b6dc45af255b3037b00ef31d85d (patch)
treed718dfc00e260081387271c1911143a6e4dda717 /drivers/net/dsa/ocelot/felix.c
parent76660afbb7a1ac6bef0be34c4c6e76d7e07b74d7 (diff)
downloadlinux-8a05661b2b266b6dc45af255b3037b00ef31d85d.tar.bz2
mptcp: close poll() races
mptcp_poll always return POLLOUT for unblocking connect(), ensure that the socket is a suitable state. The MPTCP_DATA_READY bit is never cleared on accept: ensure we don't leave mptcp_accept() with an empty accept queue and such bit set. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix.c')
0 files changed, 0 insertions, 0 deletions