Tue Oct 8 18:12:44 2019 UTC ()
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.


(martin)
diff -r1.242.6.6 -r1.242.6.7 src/sys/net/if_ethersubr.c

cvs diff -r1.242.6.6 -r1.242.6.7 src/sys/net/if_ethersubr.c (expand / switch to context diff)
--- src/sys/net/if_ethersubr.c 2019/10/08 18:09:41 1.242.6.6
+++ src/sys/net/if_ethersubr.c 2019/10/08 18:12:44 1.242.6.7
@@ -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;
 	}