1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/ixgbevf
Florian Westphal a84e3f5333 xfrm: prefer secpath_set over secpath_dup
secpath_set is a wrapper for secpath_dup that will not perform
an allocation if the secpath attached to the skb has a reference count
of one, i.e., it doesn't need to be COW'ed.

Also, secpath_dup doesn't attach the secpath to the skb, it leaves
this to the caller.

Use secpath_set in places that immediately assign the return value to
skb.

This allows to remove skb->sp without touching these spots again.

secpath_dup can eventually be removed in followup patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-19 11:21:38 -08:00
..
Makefile ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
defines.h ixgbevf: enable VF IPsec offload operations 2018-08-28 14:33:30 -07:00
ethtool.c ixgbevf: enable VF IPsec offload operations 2018-08-28 14:33:30 -07:00
ipsec.c xfrm: prefer secpath_set over secpath_dup 2018-12-19 11:21:38 -08:00
ipsec.h ixgbevf: add VF IPsec offload code 2018-08-28 14:33:26 -07:00
ixgbevf.h ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
ixgbevf_main.c drivers: net: intel: use secpath helpers in more places 2018-12-19 11:21:37 -08:00
mbx.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
mbx.h ixgbevf: add defines for IPsec offload request 2018-08-28 14:33:19 -07:00
regs.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
vf.c ixgbevf: enable VF IPsec offload operations 2018-08-28 14:33:30 -07:00
vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00