diff options
author | Huy Nguyen <huyn@nvidia.com> | 2021-05-28 20:20:32 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-10 02:20:03 +0200 |
commit | 8ad893e516a77209a1818a2072d2027d87db809f (patch) | |
tree | 47d4b63acb94046cdba132dbd5c92b93359ce4a2 /include | |
parent | net/mlx5e: Fix use-after-free of encap entry in neigh update handler (diff) | |
download | linux-8ad893e516a77209a1818a2072d2027d87db809f.tar.xz linux-8ad893e516a77209a1818a2072d2027d87db809f.zip |
net/mlx5e: Remove dependency in IPsec initialization flows
Currently, IPsec feature is disabled because mlx5e_build_nic_netdev
is required to be called after mlx5e_ipsec_init. This requirement is
invalid as mlx5e_build_nic_netdev and mlx5e_ipsec_init initialize
independent resources.
Remove ipsec pointer check in mlx5e_build_nic_netdev so that the
two functions can be called at any order.
Fixes: 547eede070eb ("net/mlx5e: IPSec, Innova IPSec offload infrastructure")
Signed-off-by: Huy Nguyen <huyn@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions