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_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
xfrm_user.c [XFRM_USER]: avoid pointless void ** casts 2007-01-03 18:38:13 -08:00