summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-11-10 02:25:53 +0100
committerThomas Graf <tgr@axs.localdomain>2005-11-10 02:26:40 +0100
commit82ace47a7256fd39d370a6442e0649f75961b831 (patch)
tree261fafd7cb6b8b7bf023fa26cba1636ae2ec2f79 /block
parenta8f74b228826eef1cbe04a05647d61e896f5fd63 (diff)
downloadlinux-3.10-82ace47a7256fd39d370a6442e0649f75961b831.tar.gz
linux-3.10-82ace47a7256fd39d370a6442e0649f75961b831.tar.bz2
linux-3.10-82ace47a7256fd39d370a6442e0649f75961b831.zip
[NETLINK]: Generic netlink receive queue processor
Introduces netlink_run_queue() to handle the receive queue of a netlink socket in a generic way. Processes as much as there was in the queue upon entry and invokes a callback function for each netlink message found. The callback function may refuse a message by returning a negative error code but setting the error pointer to 0 in which case netlink_run_queue() will return with a qlen != 0. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions