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_hash.c
xfrm_hash.h
xfrm_input.c
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