]> err.no Git - linux-2.6/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)
commit79d1760491a25bfc70aeac363142cadd3f1cda71
tree8c5a2d8f2d1b0f09097013abad7b8c2dc2852494
parent17515408a15fa51c553e67c415502e785145cd7f
[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