• Karsten Graul's avatar
    Revert "net: simplify sock_poll_wait" · 89ab066d
    Karsten Graul authored
    This reverts commit dd979b4d.
    
    This broke tcp_poll for SMC fallback: An AF_SMC socket establishes an
    internal TCP socket for the initial handshake with the remote peer.
    Whenever the SMC connection can not be established this TCP socket is
    used as a fallback. All socket operations on the SMC socket are then
    forwarded to the TCP socket. In case of poll, the file->private_data
    pointer references the SMC socket because the TCP socket has no file
    assigned. This causes tcp_poll to wait on the wrong socket.
    Signed-off-by: default avatarKarsten Graul <kgraul@linux.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    89ab066d
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
caif_dev.c Loading commit data...
caif_socket.c Loading commit data...
caif_usb.c Loading commit data...
cfcnfg.c Loading commit data...
cfctrl.c Loading commit data...
cfdbgl.c Loading commit data...
cfdgml.c Loading commit data...
cffrml.c Loading commit data...
cfmuxl.c Loading commit data...
cfpkt_skbuff.c Loading commit data...
cfrfml.c Loading commit data...
cfserl.c Loading commit data...
cfsrvl.c Loading commit data...
cfutill.c Loading commit data...
cfveil.c Loading commit data...
cfvidl.c Loading commit data...
chnl_net.c Loading commit data...