diff options
author | Petri Gynther <pgynther@google.com> | 2009-08-20 11:21:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-20 11:21:27 +0200 |
commit | d3b325f9c25be6d504bc73afce7f92d0e25001d7 (patch) | |
tree | f98e2f0194b0ff34d590daa266575d276a9758e6 /block/compat_ioctl.c | |
parent | net: fix ks8851 build errors (diff) | |
download | linux-d3b325f9c25be6d504bc73afce7f92d0e25001d7.tar.xz linux-d3b325f9c25be6d504bc73afce7f92d0e25001d7.zip |
ibm_newemac: emac_close() needs to call netif_carrier_off()
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions