Re: [RFC 4/4] net: ppp_generic - introduce net-namespacefunctionality

From: Cyrill Gorcunov
Date: Sun Jan 11 2009 - 02:47:55 EST


[Paul Mackerras - Sun, Jan 11, 2009 at 11:33:21AM +1100]
| Cyrill Gorcunov writes:
|
| > From: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
| > Subecjt: [RFC] net: ppp_generic - introduce net-namespace functionality
| >
| > - Each namespace contain ppp channels and units separately
| > with appropriate locks
|
| This looks like a lot of uglification to me. Why exactly do
| individual network drivers need to know or care about namespaces?
|
| Paul.
|

Unfortunately in the whole series ppp has been change more
then others and it's looks ugly indeed that is why it was RFC.
Namespaces imply isolation of data right? Including private
data being 'user related' -- ie units passed to user in one
namespace should not interfere with units passed to user in
another namespace. So if I will not 'bind' units pool to
namespaces it would be possible to steal unit from one namespace
proposed for another namespace. Right?

- 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/