|
@@ -4934,6 +4934,10 @@ static void bnxt_del_napi(struct bnxt *bp)
|
|
napi_hash_del(&bnapi->napi);
|
|
napi_hash_del(&bnapi->napi);
|
|
netif_napi_del(&bnapi->napi);
|
|
netif_napi_del(&bnapi->napi);
|
|
}
|
|
}
|
|
|
|
+ /* We called napi_hash_del() before netif_napi_del(), we need
|
|
|
|
+ * to respect an RCU grace period before freeing napi structures.
|
|
|
|
+ */
|
|
|
|
+ synchronize_net();
|
|
}
|
|
}
|
|
|
|
|
|
static void bnxt_init_napi(struct bnxt *bp)
|
|
static void bnxt_init_napi(struct bnxt *bp)
|