Module Name: src
Committed By: msaitoh
Date: Fri Dec 10 01:18:29 UTC 2021
Modified Files:
src/sys/net: if_ethersubr.c
Log Message:
Add comment to clarify.
To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/sys/net/if_ethersubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_ethersubr.c
diff -u src/sys/net/if_ethersubr.c:1.306 src/sys/net/if_ethersubr.c:1.307
--- src/sys/net/if_ethersubr.c:1.306 Tue Nov 30 01:17:02 2021
+++ src/sys/net/if_ethersubr.c Fri Dec 10 01:18:29 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.306 2021/11/30 01:17:02 yamaguchi Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.307 2021/12/10 01:18:29 msaitoh 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.306 2021/11/30 01:17:02 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.307 2021/12/10 01:18:29 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -901,6 +901,7 @@ ether_input(struct ifnet *ifp, struct mb
ether_input_llc(ifp, m, eh);
return;
#else
+ /* ethertype of 0-1500 is regarded as noproto */
goto noproto;
#endif
}