Re: [PATCH] mac80211_hwsim: Allow wmediumd to attach to radios created in its netns

2016-06-15 Thread Johannes Berg
On Wed, 2016-06-15 at 14:37 +0200, Martin Willi wrote: > > > > > > >  printk(KERN_INFO "mac80211_hwsim: wmediumd released netlink" > > >         " socket, switching to perfect channel medium\n"); > > > I wonder if we can do something better about them? Or perhaps if we > > should remove them,

Re: [PATCH] mac80211_hwsim: Allow wmediumd to attach to radios created in its netns

2016-06-15 Thread Martin Willi
> > >  printk(KERN_INFO "mac80211_hwsim: wmediumd released netlink" > >         " socket, switching to perfect channel medium\n"); > I wonder if we can do something better about them? Or perhaps if we > should remove them, so other namespaces won't mess up the kernel log This is in fact not

Re: [PATCH] mac80211_hwsim: Allow wmediumd to attach to radios created in its netns

2016-06-15 Thread Johannes Berg
I was about to apply this (with a typo fix for "responsile"), but noticed these messages: >   printk(KERN_DEBUG "mac80211_hwsim: received a REGISTER, " >      "switching to wmediumd mode with pid %d\n", info- > >snd_portid); > + if (notify->portid ==

[PATCH] mac80211_hwsim: Allow wmediumd to attach to radios created in its netns

2016-05-14 Thread Martin Willi
Registering wmediumd is currently limited to the initial network namespace. This patch enables wmediumd to attach from non-initial network namespaces using a user namespace having CAP_NET_ADMIN. A registered wmediumd can forward frames on radios that have been created in the same network