summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/xfrm_sysctl.txt
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-08-04 12:52:31 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2019-08-22 00:55:17 +0200
commit95435ad7999b1218367f0667ed5fe98d042ffe78 (patch)
tree4bc4059e30b405a32cf67b931fd56b1f71c42033 /Documentation/networking/xfrm_sysctl.txt
parentnet/mlx5e: Refactor neigh update for concurrent execution (diff)
downloadlinux-95435ad7999b1218367f0667ed5fe98d042ffe78.tar.xz
linux-95435ad7999b1218367f0667ed5fe98d042ffe78.zip
net/mlx5e: Only access fully initialized flows in neigh update
To remove dependency on rtnl lock and prevent neigh update code from accessing uninitialized flows when executing concurrently with tc, extend mlx5e_tc_flow with 'init_done' completion. Modify helper mlx5e_take_all_encap_flows() to wait for flow completion after obtaining reference to it. Modify mlx5e_tc_encap_flows_del() and mlx5e_tc_encap_flows_add() to skip flows that don't have OFFLOADED flag set, which can happen if concurrent flow initialization failed. This commit finishes neigh update refactoring for concurrent execution started in previous change in this series. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'Documentation/networking/xfrm_sysctl.txt')
0 files changed, 0 insertions, 0 deletions