From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [PATCH] mac80211_hwsim: Allow wmediumd to attach to radios created in its netns Date: Wed, 15 Jun 2016 14:51:50 +0200 Message-ID: <1465995110.2994.6.camel@sipsolutions.net> References: <1463214884-5983-1-git-send-email-martin@strongswan.org> <1465978217.2994.4.camel@sipsolutions.net> <1465994233.3807.18.camel@strongswan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Martin Willi Return-path: In-Reply-To: <1465994233.3807.18.camel-jzJueiEJWxp8fCCB1iTX4w@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Wed, 2016-06-15 at 14:37 +0200, Martin Willi wrote: > >=20 > >=20 > > > =C2=A0printk(KERN_INFO "mac80211_hwsim: wmediumd released netlink= " > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 " socket, switching to perfect channe= l medium\n"); >=20 > > 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 >=20 > This is in fact not very nice, but not specific to hwsim. Any > namespace > can mess up the kernel log from different (networking) subsystems. > This > has been discussed some time ago [1], but AFAIK there is no real > solution so far. >=20 > For this patch I think we have the following options: > =C2=A0* Keep the printk() messages as proposed > =C2=A0* Remove those callable from non-initial namespaces completely > =C2=A0* Suppress them when called from non-initial namespaces > =C2=A0* Include the associated "netgroup" in the message >=20 > I personally would prefer the first option, as this problem is not > specific to hwsim or mac80211, but many subsystems. So we certainly > can > add some work-around, but there is not much to gain if other modules > don't. >=20 =46air enough. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html