diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-03-26 10:04:26 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 12:24:43 -0700 |
commit | b37987e8db5faee3fc12baecc4699f9d92bc0695 (patch) | |
tree | edc0c25084afc2c35b308ba7af14d34a156a7995 /net | |
parent | 4b8e27a86d209063d8aacfb918668bbb75e56019 (diff) | |
download | lwn-b37987e8db5faee3fc12baecc4699f9d92bc0695.tar.gz lwn-b37987e8db5faee3fc12baecc4699f9d92bc0695.zip |
cxgb4: Disable interrupts and napi before unregistering netdev
Disable interrupts and quiesce rx before unregistering net device to avoid crash
while unloading driver when traffic is flowing through.
Based on original work by Shameem Khalid <shameem@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions