Source-Changes-HG archive

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

[src/trunk]: src/sys/net Don't set M_PROTO1 in mbuf flags.



details:   https://anonhg.NetBSD.org/src/rev/1a9da4faff54
branches:  trunk
changeset: 340244:1a9da4faff54
user:      rjs <rjs%NetBSD.org@localhost>
date:      Fri Aug 28 14:23:18 2015 +0000

description:
Don't set M_PROTO1 in mbuf flags.

This was left over from the old usage of gif(4) with bridges.

diffstat:

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

diffs (26 lines):

diff -r 8524b38bfb59 -r 1a9da4faff54 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Fri Aug 28 14:06:01 2015 +0000
+++ b/sys/net/if_bridge.c       Fri Aug 28 14:23:18 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.101 2015/08/20 14:40:19 christos Exp $ */
+/*     $NetBSD: if_bridge.c,v 1.102 2015/08/28 14:23:18 rjs Exp $      */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.101 2015/08/20 14:40:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.102 2015/08/28 14:23:18 rjs Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bridge_ipf.h"
@@ -1512,7 +1512,6 @@
 #endif /* ALTQ */
 
        len = m->m_pkthdr.len;
-       m->m_flags |= M_PROTO1;
        mflags = m->m_flags;
 
        IFQ_ENQUEUE(&dst_ifp->if_snd, m, &pktattr, error);



Home | Main Index | Thread Index | Old Index