summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-05-30 19:39:55 +0000
committerthompsa <thompsa@FreeBSD.org>2007-05-30 19:39:55 +0000
commitadf83130b2f6ab8564e50c7d318990965edc3069 (patch)
treee0906748f4e4294ceb09aff66f9ad0fb4349e000 /sys/net/if_bridge.c
parent00ab510c7cabe5ff0ee618e3e6b7f48fdf9cdbfa (diff)
downloadFreeBSD-src-adf83130b2f6ab8564e50c7d318990965edc3069.zip
FreeBSD-src-adf83130b2f6ab8564e50c7d318990965edc3069.tar.gz
Remove a KASSERT intended to help the developer, the condition is no longer
valid since the span code was added. PR: kern/113170 MFC after: 1 week
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r--sys/net/if_bridge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 4035153..de92540 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -2754,8 +2754,10 @@ bridge_pfil(struct mbuf **mp, struct ifnet *bifp, struct ifnet *ifp, int dir)
snap = 0;
error = -1; /* Default error if not error == 0 */
+#if 0
/* we may return with the IP fields swapped, ensure its not shared */
KASSERT(M_WRITABLE(*mp), ("%s: modifying a shared mbuf", __func__));
+#endif
if (pfil_bridge == 0 && pfil_member == 0 && pfil_ipfw == 0)
return (0); /* filtering is disabled */
OpenPOWER on IntegriCloud