diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-16 17:31:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-17 07:30:43 +0300 |
commit | e5f6f564fd191d365fcd775c06a732a488205588 (patch) | |
tree | 28db9d98d66cf6f39f59230d93a58311d77d9d0b /net | |
parent | e47112d9d6009bf6b7438cedc0270316d6b0370d (diff) | |
download | linux-e5f6f564fd191d365fcd775c06a732a488205588.tar.xz |
bnxt: add a missing rcu synchronization
Add a missing synchronize_net() call to avoid potential use after free,
since we explicitly call napi_hash_del() to factorize the RCU grace
period.
Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions