netlink: add a start callback for starting a netlink dump
authorTom Herbert <tom@herbertland.com>
Tue, 15 Dec 2015 23:41:37 +0000 (15:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:25:20 +0000 (23:25 -0500)
commitfc9e50f5a5a4e1fa9ba2756f745a13e693cf6a06
tree168120764bcdbba0aad5859c9044f7dd84eb4350
parent3502cad73c4bbf8f6365d539e814159275252c59
netlink: add a start callback for starting a netlink dump

The start callback allows the caller to set up a context for the
dump callbacks. Presumably, the context can then be destroyed in
the done callback.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
include/net/genetlink.h
net/netlink/af_netlink.c
net/netlink/genetlink.c