commit | e5f6f564fd191d365fcd775c06a732a488205588 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Nov 16 06:31:52 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 16 23:30:43 2016 -0500 |
tree | 28db9d98d66cf6f39f59230d93a58311d77d9d0b | |
parent | e47112d9d6009bf6b7438cedc0270316d6b0370d [diff] |
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>