diff options
author | Merav Sicron <[email protected]> | 2012-08-27 03:26:19 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-08-30 13:36:46 -0400 |
commit | 26614ba5445fe31a69068a5e94266fa08b4ee345 (patch) | |
tree | f2c3ddd616e9cd031446d25c1e5e29649be7b0e3 /net/unix/af_unix.c | |
parent | c5ae7d41927dbd208c885d4794e30617ad6cdf12 (diff) |
bnx2x: Move netif_napi_add to the open call
Move netif_napi_add for all queues from the probe call to the open call, to
avoid the case that napi objects are added for queues that may eventually not
be initialized and activated. With the former behavior, the driver could crash
when netpoll was calling ndo_poll_controller.
Signed-off-by: Merav Sicron <[email protected]>
Signed-off-by: Dmitry Kravkov <[email protected]>
Signed-off-by: Eilon Greenstein <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions