aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2011-06-08 19:29:35 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-08 23:52:37 -0700
commitdb1d350fcb156b58f66a67680617077bcacfe6fc (patch)
tree084d9254b62b05a4b7ce41606c6a7197a068a090 /drivers/net/bnx2.c
parent11f23aa8ccd56786f0a6f04211cf59b3fab2ce08 (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 <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
0 files changed, 0 insertions, 0 deletions