]> git.baikalelectronics.ru Git - kernel.git/commit
[TUN]: Introduce the tun_net structure and init/exit net ops.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 07:40:46 +0000 (00:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 07:40:46 +0000 (00:40 -0700)
commitbe473518b4e6cdf4ab65bd004524c941116eaa70
tree8c5a2d8f2d1b0f09097013abad7b8c2dc2852494
parent5c115e0337c3f500669acfe1df181559dd4e2ec7
[TUN]: Introduce the tun_net structure and init/exit net ops.

This is the first step in making tuntap devices work in net
namespaces. The structure mentioned is pointed by generic
net pointer with tun_net_id id, and tun driver fills one on
its load. It will contain only the tun devices list.

So declare this structure and introduce net init and exit hooks.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c