Module Name: src
Committed By: rjs
Date: Fri Aug 28 14:23:18 UTC 2015
Modified Files:
src/sys/net: if_bridge.c
Log Message:
Don't set M_PROTO1 in mbuf flags.
This was left over from the old usage of gif(4) with bridges.
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/net/if_bridge.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_bridge.c
diff -u src/sys/net/if_bridge.c:1.101 src/sys/net/if_bridge.c:1.102
--- src/sys/net/if_bridge.c:1.101 Thu Aug 20 14:40:19 2015
+++ src/sys/net/if_bridge.c Fri Aug 28 14:23:18 2015
@@ -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 @@ bridge_enqueue(struct bridge_softc *sc,
#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);