aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDon Skidmore <[email protected]>2009-07-02 12:50:52 +0000
committerDavid S. Miller <[email protected]>2009-07-03 19:11:05 -0700
commit5da43c1a78cbc16518017dfb058da6ec4829781b (patch)
tree039a95aaedc5624904affa67ef1dfe8ed8b525ad /net/lapb/lapb_in.c
parent19343de279d28e4ed039c8ad00510d19dc4d6d12 (diff)
ixgbe: fix inconsistent SFP/SFP+ failure results.
Currently if we loaded the driver, insert an unsupported module, and then attempt to "ifconfig up" the device it will be brought down but the netdev would not be unregistered. This behavior is different than all other code paths. This patch corrects that by down'ing the device and then scheduling the sfp_config_module_task tasklet. The tasklet will detect this condition (like it does with other code paths) and do the unregister_netdev(). I also removed the log message as this condition (an unsupported SFP+ module) will be logged in sfp_config_module_task. Signed-off-by: Don Skidmore <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions