summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/mvmdio.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2019-08-02 11:47:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-05 23:24:37 +0300
commitcd2063604ea6a8c2683b4eb9b5f4c4da74592d87 (patch)
tree00f77c4d4c84e263d7a3e14c6237d360d6b9e66b /drivers/net/ethernet/marvell/mvmdio.c
parentf9cedf1a9b1cdcfb0c52edb391d01771e43994a4 (diff)
downloadlinux-cd2063604ea6a8c2683b4eb9b5f4c4da74592d87.tar.xz
net/smc: avoid fallback in case of non-blocking connect
FASTOPEN is not possible with SMC. sendmsg() with msg_flag MSG_FASTOPEN triggers a fallback to TCP if the socket is in state SMC_INIT. But if a nonblocking connect is already started, fallback to TCP is no longer possible, even though the socket may still be in state SMC_INIT. And if a nonblocking connect is already started, a listen() call does not make sense. Reported-by: syzbot+bd8cc73d665590a1fcad@syzkaller.appspotmail.com Fixes: 50717a37db032 ("net/smc: nonblocking connect rework") Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvmdio.c')
0 files changed, 0 insertions, 0 deletions