ieee802154: fix netns settings
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 5 Feb 2015 17:21:30 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Feb 2015 04:19:58 +0000 (05:19 +0100)
commitf9d1ce8f81eb046626cfa1bb0f419f8dca04bcae
tree80ebdf697f1b07b301dd0887d697dd2dad8b7356
parenta715d11e453c37822eca675a4445c1ce4ea7297e
ieee802154: fix netns settings

6LoWPAN currently doesn't supports x-netns and works only in init_net.

With this patch, we ensure that:
 - the wpan interface cannot be moved to another netns;
 - the 6lowpan interface cannot be moved to another netns;
 - the wpan interface is in the same netns than the 6lowpan interface;
 - the 6lowpan interface is in init_net.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/core.c
net/ieee802154/core.c
This page took 0.025861 seconds and 5 git commands to generate.