diff options
author | Roopa Prabhu <[email protected]> | 2020-05-28 22:12:36 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-30 21:47:08 -0700 |
commit | 79472fe873dd307101f9b1dbfe0fedebae42219a (patch) | |
tree | 8bb2e4e1e5e7f223f0cbaf995bcb7a558287aef6 /lib/mpi/mpi-sub-ui.c | |
parent | 72b4868211a85d040c42444620f2197bb0094ac8 (diff) |
vxlan: few locking fixes in nexthop event handler
- remove fdb from nh_list before the rcu grace period
- protect fdb->vdev with rcu
- hold spin lock before destroying fdb
Fixes: c7cdbe2efc40 ("vxlan: support for nexthop notifiers")
Signed-off-by: Roopa Prabhu <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions