diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-11-09 20:25:53 -0500 |
---|---|---|
committer | Thomas Graf <tgr@axs.localdomain> | 2005-11-09 20:26:40 -0500 |
commit | 82ace47a7256fd39d370a6442e0649f75961b831 (patch) | |
tree | 261fafd7cb6b8b7bf023fa26cba1636ae2ec2f79 /net/core | |
parent | a8f74b228826eef1cbe04a05647d61e896f5fd63 (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 'net/core')
0 files changed, 0 insertions, 0 deletions