[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090820.022138.221328122.davem@davemloft.net>
Date: Thu, 20 Aug 2009 02:21:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pgynther@...gle.com
Cc: benh@...nel.crashing.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ibm_newemac: emac_close() needs to call
netif_carrier_off()
From: Petri Gynther <pgynther@...gle.com>
Date: Wed, 19 Aug 2009 14:00:00 -0700 (PDT)
> When ibm_newemac netdev instance is shutdown with "ifconfig down",
> the netdev interface does not go properly down. netif_carrier_ok()
> keeps returning TRUE even after "ifconfig down".
>
> The problem can be seen when ibm_newemac instances are slaves of
> a bonding interface. The bonding interface code uses netif_carrier_ok()
> to determine the link status of its slaves. When ibm_newemac slave is
> shutdown with "ifconfig down", the bonding interface won't detect any
> link status change because netif_carrier_ok() keeps returning TRUE.
>
> Signed-off-by: Petri Gynther <pgynther@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists