Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add comment to clarify.



details:   https://anonhg.NetBSD.org/src/rev/73203bde9b7f
branches:  trunk
changeset: 1027187:73203bde9b7f
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Dec 10 01:18:29 2021 +0000

description:
Add comment to clarify.

diffstat:

 sys/net/if_ethersubr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bd0b83b415a0 -r 73203bde9b7f sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Thu Dec 09 23:57:19 2021 +0000
+++ b/sys/net/if_ethersubr.c    Fri Dec 10 01:18:29 2021 +0000
@@ -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_llc(ifp, m, eh);
                return;
 #else
+               /* ethertype of 0-1500 is regarded as noproto */
                goto noproto;
 #endif
        }



Home | Main Index | Thread Index | Old Index