diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2020-05-29 08:12:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-31 07:47:08 +0300 |
commit | 79472fe873dd307101f9b1dbfe0fedebae42219a (patch) | |
tree | 8bb2e4e1e5e7f223f0cbaf995bcb7a558287aef6 /lib/mpi/mpiutil.c | |
parent | 72b4868211a85d040c42444620f2197bb0094ac8 (diff) | |
download | linux-79472fe873dd307101f9b1dbfe0fedebae42219a.tar.xz |
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 <roopa@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions