android_kernel_xiaomi_sm8350/net/xfrm
Herbert Xu a6c7ab55dd [IPSEC]: Policy list disorder
The recent hashing introduced an off-by-one bug in policy list insertion.
Instead of adding after the last entry with a lesser or equal priority,
we're adding after the successor of that entry.

This patch fixes this and also adds a warning if we detect a duplicate
entry in the policy list.  This should never happen due to this if clause.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-01-23 20:25:51 -08:00
..
Kconfig
Makefile
xfrm_algo.c [XFRM]: Algorithm lookup using .compat name 2006-12-31 14:06:51 -08:00
xfrm_hash.c
xfrm_hash.h [XFRM] STATE: Use destination address for src hash. 2006-10-04 00:31:02 -07:00
xfrm_input.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
xfrm_policy.c [IPSEC]: Policy list disorder 2007-01-23 20:25:51 -08:00
xfrm_state.c audit: disable ipsec auditing when CONFIG_AUDITSYSCALL=n 2006-12-06 20:14:23 -08:00
xfrm_user.c [XFRM_USER]: avoid pointless void ** casts 2007-01-03 18:38:13 -08:00