diff options
-rw-r--r-- | sys/net/pf.c | 3 | ||||
-rw-r--r-- | sys/net/pf_norm.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index dc6e59325c3..a52c5bf1dd6 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.938 2015/09/09 20:03:56 dlg Exp $ */ +/* $OpenBSD: pf.c,v 1.939 2015/09/10 08:28:31 mpi Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -5722,7 +5722,6 @@ pf_route6(struct mbuf **m, struct pf_rule *r, int dir, struct ifnet *oifp, } else if ((u_long)m0->m_pkthdr.len <= ifp->if_mtu) { nd6_output(ifp, m0, dst, NULL); } else { - in6_ifstat_inc(ifp, ifs6_in_toobig); icmp6_error(m0, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu); } diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index e97c5a4bdbc..377f69e631f 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.181 2015/08/19 21:22:41 sashan Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.182 2015/09/10 08:28:31 mpi Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -753,7 +753,6 @@ pf_refragment6(struct mbuf **m0, struct m_tag *mtag, struct sockaddr_in6 *dst, } else if ((u_long)m->m_pkthdr.len <= ifp->if_mtu) { nd6_output(ifp, m, dst, NULL); } else { - in6_ifstat_inc(ifp, ifs6_in_toobig); icmp6_error(m, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu); } |