diff options
| author | Michael Chan <[email protected]> | 2011-06-08 19:29:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-06-08 23:52:37 -0700 |
| commit | db1d350fcb156b58f66a67680617077bcacfe6fc (patch) | |
| tree | 084d9254b62b05a4b7ce41606c6a7197a068a090 /scripts/objdiff | |
| parent | 11f23aa8ccd56786f0a6f04211cf59b3fab2ce08 (diff) | |
cnic: Improve NETDEV_UP event handling
During NETDEV_UP, we use symbol_get() to get the net driver's cnic
probe function. This sometimes doesn't work if NETDEV_UP happens
right after NETDEV_REGISTER and the net driver is still running module
init code. As a result, the cnic device may not be discovered. We
fix this by probing on all NETDEV events if the device's netif_running
state is up.
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions