net: sk_sleep() helper
Define a new function to return the waitqueue of a "struct sock". static inline wait_queue_head_t *sk_sleep(struct sock *sk) { return sk->sk_sleep; } Change all read occurrences of sk_sleep by a call to this function. Needed for a future RCU conversion. sk_sleep wont be a field directly available. Signed-off-by:Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/atm/atmtcp.c 3 additions, 3 deletionsdrivers/atm/atmtcp.c
- drivers/net/macvtap.c 2 additions, 2 deletionsdrivers/net/macvtap.c
- drivers/net/tun.c 2 additions, 2 deletionsdrivers/net/tun.c
- drivers/scsi/iscsi_tcp.c 2 additions, 2 deletionsdrivers/scsi/iscsi_tcp.c
- include/net/sock.h 7 additions, 3 deletionsinclude/net/sock.h
- include/net/tcp.h 1 addition, 1 deletioninclude/net/tcp.h
- net/atm/common.c 6 additions, 6 deletionsnet/atm/common.c
- net/atm/signaling.c 1 addition, 1 deletionnet/atm/signaling.c
- net/atm/svc.c 31 additions, 31 deletionsnet/atm/svc.c
- net/ax25/af_ax25.c 4 additions, 4 deletionsnet/ax25/af_ax25.c
- net/bluetooth/af_bluetooth.c 3 additions, 3 deletionsnet/bluetooth/af_bluetooth.c
- net/bluetooth/bnep/core.c 4 additions, 4 deletionsnet/bluetooth/bnep/core.c
- net/bluetooth/bnep/netdev.c 3 additions, 3 deletionsnet/bluetooth/bnep/netdev.c
- net/bluetooth/cmtp/cmtp.h 1 addition, 1 deletionnet/bluetooth/cmtp/cmtp.h
- net/bluetooth/cmtp/core.c 2 additions, 2 deletionsnet/bluetooth/cmtp/core.c
- net/bluetooth/hidp/core.c 5 additions, 5 deletionsnet/bluetooth/hidp/core.c
- net/bluetooth/hidp/hidp.h 2 additions, 2 deletionsnet/bluetooth/hidp/hidp.h
- net/bluetooth/l2cap.c 2 additions, 2 deletionsnet/bluetooth/l2cap.c
- net/bluetooth/rfcomm/sock.c 4 additions, 4 deletionsnet/bluetooth/rfcomm/sock.c
- net/bluetooth/sco.c 2 additions, 2 deletionsnet/bluetooth/sco.c
Loading
Please register or sign in to comment