summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 14:56:06 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 11:59:00 -0500
commit82ee4ca3e0bb2f1da94a38331871a29f2760aea8 (patch)
treef496de9a4cb7ec420985bf19d128ff7ef82d11bb /sys/netinet6/udp6_usrreq.c
parent41f40988afa849dd84147add3a2430fe8d0ba788 (diff)
downloadFreeBSD-src-82ee4ca3e0bb2f1da94a38331871a29f2760aea8.zip
FreeBSD-src-82ee4ca3e0bb2f1da94a38331871a29f2760aea8.tar.gz
MFC r275716:
Do not count security policy violation twice. ipsec*_in_reject() do this by their own. Obtained from: Yandex LLC Sponsored by: Yandex LLC TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 17de377..92e6780 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -156,7 +156,6 @@ udp6_append(struct inpcb *inp, struct mbuf *n, int off,
/* Check AH/ESP integrity. */
if (ipsec6_in_reject(n, inp)) {
m_freem(n);
- IPSEC6STAT_INC(ips_in_polvio);
return;
}
#endif /* IPSEC */
OpenPOWER on IntegriCloud