diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-01-17 13:35:01 +1100 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-02-05 08:31:41 -0800 |
commit | 7fbbb01dca7704d52ace6f45a805c98a5b0362f9 (patch) | |
tree | 92f0faad581beceb69535343affc96e26433d755 /scripts/unifdef.c | |
parent | 5624ef14c74b5e8237ef09aba7f5bfd2cb56f793 (diff) |
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions