xfrm: Introduce xfrm_input_afinfo to access the the callbacks properly
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Mar 2014 06:28:07 +0000 (07:28 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Mar 2014 06:28:07 +0000 (07:28 +0100)
commit2f32b51b609faea1e40bb8c5bd305f1351740936
treea114ff4244c4c10c7aeedd64886a0ece4ff45b8f
parent870a2df4ca026817eb87bb2f9daaa60a93fd051a
xfrm: Introduce xfrm_input_afinfo to access the the callbacks properly

IPv6 can be build as a module, so we need mechanism to access
the address family dependent callback functions properly.
Therefore we introduce xfrm_input_afinfo, similar to that
what we have for the address family dependent part of
policies and states.

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