diff options
| author | Pravin B Shelar <pshelar@nicira.com> | 2013-08-15 15:31:06 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:35:36 +0200 |
| commit | db41e4e1c30d890f95b5747a55f570ef9b077666 (patch) | |
| tree | 65d9a144df20a664039b4bc84b3584386b009606 /scripts/const_structs.checkpatch | |
| parent | cefed7ee55f31d8b6dbbec5226f0fbd816cd1287 (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.
Change-Id: I376b6feef396010e3ebd98673a30518b62af9425
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
