aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Graf2005-11-10 02:25:53 +0100
committerThomas Graf2005-11-10 02:26:40 +0100
commit82ace47a7256fd39d370a6442e0649f75961b831 (patch)
tree261fafd7cb6b8b7bf023fa26cba1636ae2ec2f79 /kernel
parenta8f74b228826eef1cbe04a05647d61e896f5fd63 (diff)
[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 'kernel')
0 files changed, 0 insertions, 0 deletions