diff options
| author | Eric Dumazet <edumazet@google.com> | 2016-11-16 06:31:52 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:29 +0200 |
| commit | 0ca38a1cb631b1262f87fb08616670de144df9e1 (patch) | |
| tree | 512043bfba48327988fe78482c16ccc84929fb53 /scripts/patch-kernel | |
| parent | 959c8d63b47eceacf3890450b1cad44f22e6a139 (diff) | |
bnxt: add a missing rcu synchronization
commit e5f6f564fd191d365fcd775c06a732a488205588 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
