Commit b37987e
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>1 parent 4b8e27a commit b37987e
1 file changed
+18
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
937 | 952 | | |
938 | 953 | | |
939 | 954 | | |
| |||
4257 | 4272 | | |
4258 | 4273 | | |
4259 | 4274 | | |
4260 | | - | |
4261 | 4275 | | |
4262 | 4276 | | |
4263 | 4277 | | |
4264 | 4278 | | |
4265 | 4279 | | |
4266 | 4280 | | |
4267 | | - | |
4268 | | - | |
4269 | | - | |
4270 | | - | |
4271 | | - | |
4272 | | - | |
4273 | 4281 | | |
4274 | 4282 | | |
4275 | 4283 | | |
| |||
5591 | 5599 | | |
5592 | 5600 | | |
5593 | 5601 | | |
| 5602 | + | |
5594 | 5603 | | |
5595 | 5604 | | |
5596 | 5605 | | |
| |||
6304 | 6313 | | |
6305 | 6314 | | |
6306 | 6315 | | |
| 6316 | + | |
| 6317 | + | |
6307 | 6318 | | |
6308 | 6319 | | |
6309 | 6320 | | |
| |||
0 commit comments