net: pppol2tp - introduce net-namespace functionality
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 21 Jan 2009 23:55:15 +0000 (15:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jan 2009 23:55:15 +0000 (15:55 -0800)
commit4e9fb8016a351b5b9da7fea32bcfdbc9d836e421
treed8cce017f0327cef58f9caa9fea92f9ebd6e263f
parenta6bcf1c1d38e0672db35e0d9f2504ac04ddf3ed5
net: pppol2tp - introduce net-namespace functionality

- Each tunnel and appropriate lock are inside own namespace now.
- pppox code allows to create per-namespace sockets for
  both PX_PROTO_OE and PX_PROTO_OL2TP protocols. Actually since
  now pppox_create support net-namespaces new PPPo... protocols
  (if they ever will be) should support net-namespace too otherwise
  explicit check for &init_net would be needed.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c
drivers/net/pppox.c