git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPSEC]: Move integrity stat collection into xfrm_input
[safe/jmp/linux-2.6]
/
net
/
ipv6
/
esp6.c
diff --git
a/net/ipv6/esp6.c
b/net/ipv6/esp6.c
index
4440532
..
096974b
100644
(file)
--- a/
net/ipv6/esp6.c
+++ b/
net/ipv6/esp6.c
@@
-177,8
+177,7
@@
static int esp6_input(struct xfrm_state *x, struct sk_buff *skb)
BUG();
if (unlikely(memcmp(esp->auth.work_icv, sum, alen))) {
- x->stats.integrity_failed++;
- ret = -EINVAL;
+ ret = -EBADMSG;
goto out;
}
}