aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-01-16 16:52:02 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-01-23 20:25:51 -0800
commita6c7ab55dda3e16ab5a3cf6f39585aee5876ac3a (patch)
tree2ad7ed20bcf18bf1ff8b9354ec0a8f498627c1eb /net/ipv4/tcp_input.c
parent[IrDA]: Removed incorrect IRDA_ASSERT() (diff)
downloadlinux-dev-a6c7ab55dda3e16ab5a3cf6f39585aee5876ac3a.tar.xz
linux-dev-a6c7ab55dda3e16ab5a3cf6f39585aee5876ac3a.zip
[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>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions