diff options
| author | Sivacharan Paka <sipaka@codeaurora.org> | 2013-08-15 15:31:06 -0700 |
|---|---|---|
| committer | Sivacharan Paka <sipaka@codeaurora.org> | 2017-02-21 17:15:54 +0530 |
| commit | 30ce735d1704a874e6ee241f3724d51bcd6b6b20 (patch) | |
| tree | 206700b58f8cca279a2f2f6cc88507b6dcd60fd9 /net/lapb/lapb_timer.c | |
| parent | 191344478147dc111433ca864080648e705050a4 (diff) | |
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>
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Git-commit: 16b304f3404f8e0243d5ee2b70b68767b7b59b2b
Change-Id: I13a3cdf8b0e8e0adb1e386eca105a86cb540d2fa
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
