drivers: net: intel: use secpath helpers in more places
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Dec 2018 16:15:21 +0000 (17:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 19:21:37 +0000 (11:21 -0800)
commit2fdb435bc0d7492b8137d4c9db6a465511154e29
treee9caa3f963e648f31227a4a71f425193ea2af973
parent2294be0f11e22b6197d025e5d3ab42888879ec4e
drivers: net: intel: use secpath helpers in more places

Use skb_sec_path and secpath_exists helpers where possible.
This reduces noise in followup patch that removes skb->sp pointer.

v2: no changes, preseve acks from v1.

Acked-by: Shannon Nelson <shannon.lee.nelson@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbevf/ipsec.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c