xfrm: Add a secpath_set helper.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 15 Feb 2017 08:39:24 +0000 (09:39 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 15 Feb 2017 08:39:24 +0000 (09:39 +0100)
commitb0fcee825c0ad05057a97d1f4685e1b9e9d00c53
treecb431638b0972b632f8419c05afa682cd552c4ca
parent37b103830ec3e52a761bb647eb78da22a1fe4e09
xfrm: Add a secpath_set helper.

Add a new helper to set the secpath to the skb.
This avoids code duplication, as this is used
in multiple places.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/ipv6/xfrm6_input.c
net/xfrm/xfrm_input.c