diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2015-08-24 11:35:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-25 14:11:20 -0700 |
commit | 79c441ae505ccfaed9d80df95e83fb2573f23f8e (patch) | |
tree | ddf6ea21359c1042c117dc40dae8cdffdc631a60 /net | |
parent | 542a64c7076565d73eea39057113914e1607db30 (diff) | |
download | linux-rpi3-79c441ae505ccfaed9d80df95e83fb2573f23f8e.tar.gz linux-rpi3-79c441ae505ccfaed9d80df95e83fb2573f23f8e.tar.bz2 linux-rpi3-79c441ae505ccfaed9d80df95e83fb2573f23f8e.zip |
ppp: implement x-netns support
Let packets move from one netns to the other at PPP encapsulation and
decapsulation time.
PPP units and channels remain in the netns in which they were
originally created. Only the net_device may move to a different
namespace. Cross netns handling is thus transparent to lower PPP
layers (PPPoE, L2TP, etc.).
PPP devices are automatically unregistered when their netns gets
removed. So read() and poll() on the unit file descriptor will
respectively receive EOF and POLLHUP. Channels aren't affected.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions