diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 11:17:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 11:17:11 -0800 |
commit | 79c911595390c8fdc8d8a487ac1951d854b1cd09 (patch) | |
tree | 9688e154b321f6c976b2d43abbfd4bb929b18e1a /net/netlink/af_netlink.c | |
parent | 405666db84b984b68fc75794069f424c02e5796c (diff) | |
download | linux-79c911595390c8fdc8d8a487ac1951d854b1cd09.tar.bz2 |
[ICMP]: Allocate data for __icmp(v6)_sk dynamically.
Own __icmp(v6)_sk should be present in each namespace. So, it should be
allocated dynamically. Though, alloc_percpu does not fit the case as it
implies additional dereferrence for no bonus.
Allocate data for pointers just like __percpu_alloc_mask does and place
pointers to struct sock into this array.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/af_netlink.c')
0 files changed, 0 insertions, 0 deletions