Re: [PATCH net-next] netlink: do not store start function in netlink_cb

2018-07-24 Thread David Miller
From: Florian Westphal Date: Tue, 24 Jul 2018 12:47:56 +0200 > ->start() is called once when dump is being initialized, there is no > need to store it in netlink_cb. > > Signed-off-by: Florian Westphal Nice simplification, applied, thanks.

[PATCH net-next] netlink: do not store start function in netlink_cb

2018-07-24 Thread Florian Westphal
->start() is called once when dump is being initialized, there is no need to store it in netlink_cb. Signed-off-by: Florian Westphal --- include/linux/netlink.h | 1 - net/netlink/af_netlink.c | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/linux/netlink.h