[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bp3yq60w.fsf@tac.ki.iif.hu>
Date: Mon, 03 Jan 2011 17:57:35 +0100
From: Ferenc Wagner <wferi@...f.hu>
To: netdev@...r.kernel.org
Subject: spurious netconsole: network logging stopped messages
Hi,
In a running system, I can load the netconsole module, and gather the
messages on the other side all right. Now if I modprobe dummy and rmmod
dummy, the following message gets logged (via netconsole as well):
netconsole: network logging stopped, interface dummy0 unregistered
although I never asked netconsole to log through dummy0. The problem is
fairly obvious in netconsole_netdev_event() and could probably be fixed
with something like the first attached patch. I didn't even compile
tested it, though, because the second attached patch made me realise
that I don't quite understand the bridge logic here. Why should
netconsole stop logging through a bridge device if that loses a slave?
Or do I misunderstand the meaning of NETDEV_BONDING_DESLAVE?
Please Cc me, I'm not subscribed.
--
Thanks,
Feri.
View attachment "0001-netconsole-don-t-announce-stopping-if-nothing-happen.patch" of type "text/x-diff" (1568 bytes)
View attachment "0002-netconsole-clarify-stopping-message.patch" of type "text/x-diff" (1268 bytes)
Powered by blists - more mailing lists