Amerigo Wang 8d8fc29d02 netpoll: disable netpoll when enslave a device
V3: rename NETDEV_ENSLAVE to NETDEV_JOIN

Currently we do nothing when we enslave a net device which is running netconsole.
Neil pointed out that we may get weird results in such case, so let's disable
netpoll on the device being enslaved. I think it is too harsh to prevent
the device being ensalved if it is running netconsole.

By the way, this patch also removes the NETDEV_GOING_DOWN from netconsole
netdev notifier, because netpoll will check if the device is running or not
and we don't handle NETDEV_PRE_UP neither.

This patch is based on net-next-2.6.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Neil Horman <nhorman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-22 21:01:19 -04:00
..
2011-03-05 10:55:57 +01:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-13 16:50:49 -04:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-04-10 18:55:19 -07:00
2010-11-09 09:17:56 -08:00
2010-07-11 18:15:08 -07:00
2011-03-31 11:26:23 -03:00
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2010-07-14 13:40:36 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-04-18 22:59:04 -07:00
2011-04-18 14:19:32 -07:00
2011-05-07 03:08:38 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-15 15:50:41 -07:00
2011-04-15 15:50:41 -07:00
2011-04-17 17:47:36 -07:00
2011-04-17 17:47:36 -07:00
2011-05-07 22:31:35 -07:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:45 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 09:55:43 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-04-13 11:50:08 -07:00
2010-05-10 05:01:31 -07:00
2011-05-19 09:55:43 +01:00
2010-09-26 18:34:29 -07:00
2011-03-31 11:26:23 -03:00
2010-06-21 13:40:25 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-07-05 20:08:05 -07:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2010-09-15 22:06:05 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-21 18:04:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-07-15 20:46:22 -07:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:42 -07:00
2010-10-24 16:25:39 -07:00
2011-05-09 11:53:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-20 00:33:19 -04:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00