diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-16 06:31:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-16 23:30:43 -0500 |
commit | e5f6f564fd191d365fcd775c06a732a488205588 (patch) | |
tree | 28db9d98d66cf6f39f59230d93a58311d77d9d0b /lib/mpi/mpiutil.c | |
parent | e47112d9d6009bf6b7438cedc0270316d6b0370d (diff) | |
download | linux-e5f6f564fd191d365fcd775c06a732a488205588.tar.gz linux-e5f6f564fd191d365fcd775c06a732a488205588.tar.bz2 linux-e5f6f564fd191d365fcd775c06a732a488205588.zip |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions