Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by msait...
details: https://anonhg.NetBSD.org/src/rev/f5cb883a47f5
branches: netbsd-8
changeset: 455136:f5cb883a47f5
user: martin <martin%NetBSD.org@localhost>
date: Tue Oct 08 18:12:44 2019 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #1402):
sys/net/if_ethersubr.c: revision 1.277
Increment if_iqdrops when dropping an oversized frame.
diffstat:
sys/net/if_ethersubr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 2220a71ff4f3 -r f5cb883a47f5 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c Tue Oct 08 18:09:41 2019 +0000
+++ b/sys/net/if_ethersubr.c Tue Oct 08 18:12:44 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.242.6.6 2019/10/08 18:09:41 martin Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.242.6.7 2019/10/08 18:12:44 martin Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.242.6.6 2019/10/08 18:09:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.242.6.7 2019/10/08 18:12:44 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -603,6 +603,7 @@
ifp->if_xname, m->m_pkthdr.len);
}
mutex_exit(&bigpktpps_lock);
+ ifp->if_iqdrops++;
m_freem(m);
return;
}
Home |
Main Index |
Thread Index |
Old Index