diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-08-16 00:31:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-16 00:51:20 +0200 |
commit | 16b304f3404f8e0243d5ee2b70b68767b7b59b2b (patch) | |
tree | b18d6ba0555291573c237dea733a39f03b6b5192 /drivers/block/aoe | |
parent | qlcnic: Update version to 5.2.46. (diff) | |
download | linux-16b304f3404f8e0243d5ee2b70b68767b7b59b2b.tar.xz linux-16b304f3404f8e0243d5ee2b70b68767b7b59b2b.zip |
netlink: Eliminate kmalloc in netlink dump operation.
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.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/aoe')
0 files changed, 0 insertions, 0 deletions