]> git.baikalelectronics.ru Git - kernel.git/commit
net: use skb_queue_empty_lockless() in poll() handlers
authorEric Dumazet <edumazet@google.com>
Thu, 24 Oct 2019 05:44:50 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 20:33:41 +0000 (13:33 -0700)
commit1087632411402c8bdb966b1a4a26484da0bd643d
tree7f962942a142ed611e6c063171ef0092f8af8fd8
parentabc36b0bcd3dd427a5bbb38a4fbc780245aaf36d
net: use skb_queue_empty_lockless() in poll() handlers

Many poll() handlers are lockless. Using skb_queue_empty_lockless()
instead of skb_queue_empty() is more appropriate.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/isdn/capi/capi.c
net/atm/common.c
net/bluetooth/af_bluetooth.c
net/caif/caif_socket.c
net/core/datagram.c
net/decnet/af_decnet.c
net/ipv4/tcp.c
net/ipv4/udp.c
net/nfc/llcp_sock.c
net/phonet/socket.c
net/sctp/socket.c
net/tipc/socket.c
net/unix/af_unix.c
net/vmw_vsock/af_vsock.c