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
This commit is contained in:
Andrew Thompson 2007-05-30 19:39:55 +00:00
parent 0696e1203e
commit 5adfb0cc39
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170139

View File

@ -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 */