aboutsummaryrefslogtreecommitdiff
path: root/net/netlink/af_netlink.h
Commit message (Collapse)AuthorAgeFilesLines
* netlink: Eliminate kmalloc in netlink dump operation.Pravin B Shelar2017-04-131-1/+2
| | | | | | | | | | | | Following patch stores struct netlink_callback in netlink_sock to avoid allocating and freeing it on every netlink dump msg. Only one dump operation is allowed for a given socket at a time therefore we can safely convert cb pointer to cb struct inside netlink_sock. Change-Id: I376b6feef396010e3ebd98673a30518b62af9425 Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* first commitMeizu OpenSource2016-08-151-0/+82