]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita58a5a72c79ee5e2b28d2f05d444f5da44eb11fc
treecb431638b0972b632f8419c05afa682cd552c4ca
parent3bbf68036227a939ac80673fb539bd19ad53243b
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