From: Thomas Graf Date: Thu, 10 Nov 2005 01:25:53 +0000 (+0100) Subject: [NETLINK]: Generic netlink receive queue processor X-Git-Tag: v2.6.15-rc1~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ace47a7256fd39d370a6442e0649f75961b831;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed