]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: add flow control for memory mapped I/O
authorPatrick McHardy <kaber@trash.net>
Wed, 17 Apr 2013 06:47:05 +0000 (06:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2013 18:57:58 +0000 (14:57 -0400)
commite363adfe88f7df27a1c123f67aab13b40b0cbd4c
tree13cdf72588bd1124daf8bb74f8d1d27ab060ca2b
parenteb78c3c0079d7ce8ceebfb7a1e52d9783fdb69dd
netlink: add flow control for memory mapped I/O

Add flow control for memory mapped RX. Since user-space usually doesn't
invoke recvmsg() when using memory mapped I/O, flow control is performed
in netlink_poll(). Dumps are allowed to continue if at least half of the
ring frames are unused.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c