summaryrefslogtreecommitdiff
path: root/include/net/udp.h
diff options
context:
space:
mode:
authorShawn Bohrer <sbohrer@rgmadvisors.com>2013-10-07 11:01:38 -0500
committerDavid S. Miller <davem@davemloft.net>2013-10-08 16:27:33 -0400
commit005ec9743394010cd37d86c3fd2e81978231cdbf (patch)
tree2d551f452fbb3cd1aa0ffb3443abf217dee22549 /include/net/udp.h
parent2c8c8e6f9d534a77f97df4d7148561cb902c0f83 (diff)
udp: Only allow busy read/poll on connected sockets
UDP sockets can receive packets from multiple endpoints and thus may be received on multiple receive queues. Since packets packets can arrive on multiple receive queues we should not mark the napi_id for all packets. This makes busy read/poll only work for connected UDP sockets. This additionally enables busy read/poll for UDP multicast packets as long as the socket is connected by moving the check into __udp_queue_rcv_skb(). Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com> Suggested-by: Eric Dumazet <edumazet@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp.h')
0 files changed, 0 insertions, 0 deletions