Skip to content

Commit

Permalink
net: pppoe - introduce net-namespace functionality
Browse files Browse the repository at this point in the history
- each net-namespace for pppoe module is having own
  hash table and appropriate locks wich are allocated
  at time of namespace intialization. It requires about
  140 bytes of memory for every new namespace but such
  approach allow us to escape from hash chains growing
  and additional lock contends (especially in SMP environment).

- pppox code allows to create per-namespace sockets for
  PX_PROTO_OE protocol only (since at this moment support
  for pppol2tp net-namespace is not implemented yet).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Cyrill Gorcunov authored and David S. Miller committed Jan 21, 2009
1 parent 6aba915 commit a6bcf1c
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 136 deletions.
Loading

0 comments on commit a6bcf1c

Please sign in to comment.