Commit c59b892
downstream: net/dcb: check for detached device before executing callbacks
When a netdevice is detached there is no point in trying to execute
the dcb callbacks; at best they will return stale information, and
at worst crash the machine.
Fixes: 2f90b86 ("ixgbe: this patch adds support for DCB to the kernel and ixgbe driver")
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
Signed-off-by: Haonan Fang <fanghaonan@bytedance.com>1 parent 8a15247 commit c59b892
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | | - | |
| 1946 | + | |
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
| |||
0 commit comments