Source-Changes-HG archive

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

src: Add XXX.



details:   https://anonhg.NetBSD.org/src/rev/748773c928b7
branches:  trunk
changeset: 318046:748773c928b7
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Apr 11 06:26:00 2018 +0000
description:
Add XXX.

diffstat:

 sys/netinet/ip_mroute.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 4c5ab37bd21c -r 748773c928b7 sys/netinet/ip_mroute.c
--- a/sys/netinet/ip_mroute.c   Wed Apr 11 05:59:42 2018 +0000
+++ b/sys/netinet/ip_mroute.c   Wed Apr 11 06:26:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_mroute.c,v 1.156 2018/04/11 05:59:42 maxv Exp $     */
+/*     $NetBSD: ip_mroute.c,v 1.157 2018/04/11 06:26:00 maxv Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -93,7 +93,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.156 2018/04/11 05:59:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.157 2018/04/11 06:26:00 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2073,6 +2073,11 @@
        /* temporary hack; may add general packet classifier some day */
 
        /*
+        * XXX XXX: We're reading the UDP header, but we didn't ensure
+        * it was present in the packet.
+        */
+
+       /*
         * The UDP port space is divided up into four priority ranges:
         * [0, 16384)     : unclassified - lowest priority
         * [16384, 32768) : audio - highest priority



Home | Main Index | Thread Index | Old Index