projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dedcf29
)
ixgbe: fix sfp_timer clean up in ixgbe_down
author
Don Skidmore
<
[email protected]
>
Fri, 18 Sep 2009 09:45:43 +0000
(09:45 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 21 Sep 2009 18:32:29 +0000
(11:32 -0700)
We weren't stoping the sfp_timer after the device was brought down.
This patch properly cleans up.
Signed-off-by: Shannon Nelson <
[email protected]
>
Signed-off-by: Don Skidmore <
[email protected]
>
Acked-by: Peter P Waskiewicz Jr <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ixgbe/ixgbe_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_main.c
b/drivers/net/ixgbe/ixgbe_main.c
index 59ad9590e700c23b79a7a512c0818302408ae06a..056434c9831c778a17f15687605b55e4bba01325 100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_main.c
+++ b/
drivers/net/ixgbe/ixgbe_main.c
@@
-2926,6
+2926,8
@@
void ixgbe_down(struct ixgbe_adapter *adapter)
ixgbe_napi_disable_all(adapter);
+ clear_bit(__IXGBE_SFP_MODULE_NOT_FOUND, &adapter->state);
+ del_timer_sync(&adapter->sfp_timer);
del_timer_sync(&adapter->watchdog_timer);
cancel_work_sync(&adapter->watchdog_task);