• 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...
addr.c Loading commit data...
addr.h Loading commit data...
atm_misc.c Loading commit data...
atm_sysfs.c Loading commit data...
br2684.c Loading commit data...
clip.c Loading commit data...
common.c Loading commit data...
common.h Loading commit data...
ioctl.c Loading commit data...
lec.c Loading commit data...
lec.h Loading commit data...
lec_arpc.h Loading commit data...
mpc.c Loading commit data...
mpc.h Loading commit data...
mpoa_caches.c Loading commit data...
mpoa_caches.h Loading commit data...
mpoa_proc.c Loading commit data...
pppoatm.c Loading commit data...
proc.c Loading commit data...
protocols.h Loading commit data...
pvc.c Loading commit data...
raw.c Loading commit data...
resources.c Loading commit data...
resources.h Loading commit data...
signaling.c Loading commit data...
signaling.h Loading commit data...
svc.c Loading commit data...