aboutsummaryrefslogtreecommitdiff
path: root/usr/gen_init_cpio.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-16 00:41:16 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-16 00:41:16 -0700
commitd647a591dae06ccc96210cea938aa0342ef935fc (patch)
tree26bcb08b810e411b73a5f63bf486f1651c27cd2e /usr/gen_init_cpio.c
parent79d1760491a25bfc70aeac363142cadd3f1cda71 (diff)
[TUN]: Make the tun_dev_list per-net.
Remove the static tun_dev_list and replace its occurrences in driver with per-net one. It is used in two places - in tun_set_iff and tun_cleanup. In the first case it's legal to use current net_ns. In the cleanup call - move the loop, that unregisters all devices in net exit hook. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions