Re: [RFC 3/4] net: pppol2tp - introduce net-namespace functionality

From: Cyrill Gorcunov
Date: Sat Jan 10 2009 - 07:55:08 EST


[Cyrill Gorcunov - Sat, Jan 10, 2009 at 02:13:59PM +0300]
| [James Chapman - Sat, Jan 10, 2009 at 11:06:08AM +0000]
| | Cyrill Gorcunov wrote:
| | > - 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.
| | >
| | > CC: James Chapman <jchapman@xxxxxxxxxxx>
| | > Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
| | > ---
| | > drivers/net/pppol2tp.c | 164 ++++++++++++++++++++++++++++++++++++-------------
| | > drivers/net/pppox.c | 4 -
| | > 2 files changed, 121 insertions(+), 47 deletions(-)
| |
| | Looks ok from a pppol2tp point of view, though I'm not an expert on the
| | netns stuff.
| |
| | The patches don't apply against latest net-next-2.6. If you respin the
| | patches, I'll test them for pppol2tp.
| |
| | --
| | James Chapman
| | Katalix Systems Ltd
| | http://www.katalix.com
| | Catalysts for your Embedded Linux software development
| |
|
| Thanks James for taken look on. I'll check the latest net-next-2.6
| tree and update the patches soon. Thanks!
|
| - Cyrill -

James I just fetched latest net-next-2.6 with
commit

---
commit 3c92ec8ae91ecf59d88c798301833d7cf83f2179
Merge: c4c9f01... ca9153a...
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sun Dec 28 16:54:33 2008 -0800

Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
---

and patches are being applied on top without problems.
Maybe you have some other commits which are not propogated
to net-next-2.6 yet?

- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/