-
- Downloads
[IPSEC]: Added xfrm_decode_session_reverse and xfrmX_policy_check_reverse
RFC 4301 requires us to relookup ICMP traffic that does not match any policies using the reverse of its payload. This patch adds the functions xfrm_decode_session_reverse and xfrmX_policy_check_reverse so we can get the reverse flow to perform such a lookup. Signed-off-by:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/xfrm.h 1 addition, 0 deletionsinclude/linux/xfrm.h
- include/net/xfrm.h 58 additions, 5 deletionsinclude/net/xfrm.h
- net/ipv4/xfrm4_policy.c 5 additions, 5 deletionsnet/ipv4/xfrm4_policy.c
- net/ipv6/xfrm6_policy.c 5 additions, 5 deletionsnet/ipv6/xfrm6_policy.c
- net/xfrm/xfrm_policy.c 11 additions, 6 deletionsnet/xfrm/xfrm_policy.c
Please register or sign in to comment