Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 Remove notyet, we've never had this.



details:   https://anonhg.NetBSD.org/src/rev/0bbbb0d47a7d
branches:  trunk
changeset: 322857:0bbbb0d47a7d
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun May 20 06:29:43 2018 +0000

description:
Remove notyet, we've never had this.

diffstat:

 sys/netinet6/ip6_mroute.c |  8 ++------
 sys/netinet6/ip6_mroute.h |  5 +----
 2 files changed, 3 insertions(+), 10 deletions(-)

diffs (48 lines):

diff -r efb0d22abe4d -r 0bbbb0d47a7d sys/netinet6/ip6_mroute.c
--- a/sys/netinet6/ip6_mroute.c Sun May 20 06:15:45 2018 +0000
+++ b/sys/netinet6/ip6_mroute.c Sun May 20 06:29:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_mroute.c,v 1.127 2018/05/01 07:21:39 maxv Exp $    */
+/*     $NetBSD: ip6_mroute.c,v 1.128 2018/05/20 06:29:43 maxv Exp $    */
 /*     $KAME: ip6_mroute.c,v 1.49 2001/07/25 09:21:18 jinmei Exp $     */
 
 /*
@@ -117,7 +117,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.127 2018/05/01 07:21:39 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.128 2018/05/20 06:29:43 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -685,10 +685,6 @@
        s = splsoftnet();
        mifp->m6_flags     = mifcp->mif6c_flags;
        mifp->m6_ifp       = ifp;
-#ifdef notyet
-       /* scaling up here allows division by 1024 in critical code */
-       mifp->m6_rate_limit = mifcp->mif6c_rate_limit * 1024 / 1000;
-#endif
        /* initialize per mif pkt counters */
        mifp->m6_pkt_in    = 0;
        mifp->m6_pkt_out   = 0;
diff -r efb0d22abe4d -r 0bbbb0d47a7d sys/netinet6/ip6_mroute.h
--- a/sys/netinet6/ip6_mroute.h Sun May 20 06:15:45 2018 +0000
+++ b/sys/netinet6/ip6_mroute.h Sun May 20 06:29:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_mroute.h,v 1.18 2018/02/06 06:32:25 maxv Exp $     */
+/*     $NetBSD: ip6_mroute.h,v 1.19 2018/05/20 06:29:43 maxv Exp $     */
 /*     $KAME: ip6_mroute.h,v 1.17 2001/02/10 02:05:52 itojun Exp $     */
 
 /*
@@ -103,9 +103,6 @@
        mifi_t      mif6c_mifi;         /* the index of the mif to be added  */
        u_char      mif6c_flags;        /* MIFF_ flags defined below         */
        u_short     mif6c_pifi;         /* the index of the physical IF */
-#ifdef notyet
-       u_int       mif6c_rate_limit;    /* max rate                         */
-#endif
 };
 
 #define        MIFF_REGISTER   0x1     /* mif represents a register end-point */



Home | Main Index | Thread Index | Old Index