summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorRainer Weikusat2015-12-06 22:11:34 +0100
committerDavid S. Miller2015-12-07 05:31:54 +0100
commitea3793ee29d3621faf857fa8ef5425e9ff9a756d (patch)
treeb10d2b97a880215baf803b25c86bd318db3b4627 /CREDITS
parentPHY: DP83867: Remove looking in parent device for OF properties (diff)
downloadkernel-qcow2-linux-ea3793ee29d3621faf857fa8ef5425e9ff9a756d.tar.gz
kernel-qcow2-linux-ea3793ee29d3621faf857fa8ef5425e9ff9a756d.tar.xz
kernel-qcow2-linux-ea3793ee29d3621faf857fa8ef5425e9ff9a756d.zip
core: enable more fine-grained datagram reception control
The __skb_recv_datagram routine in core/ datagram.c provides a general skb reception factility supposed to be utilized by protocol modules providing datagram sockets. It encompasses both the actual recvmsg code and a surrounding 'sleep until data is available' loop. This is inconvenient if a protocol module has to use additional locking in order to maintain some per-socket state the generic datagram socket code is unaware of (as the af_unix code does). The patch below moves the recvmsg proper code into a new __skb_try_recv_datagram routine which doesn't sleep and renames wait_for_more_packets to __skb_wait_for_more_packets, both routines being exported interfaces. The original __skb_recv_datagram routine is reimplemented on top of these two functions such that its user-visible behaviour remains unchanged. Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions