diff options
author | 2001-03-19 23:58:38 +0000 | |
---|---|---|
committer | 2001-03-19 23:58:38 +0000 | |
commit | d9bfa9226f5c4e6782b38174c22ce26cfef379df (patch) | |
tree | 583ff051d48e0408bfa82aa4bec8df1661222303 | |
parent | DELAY(1) is nicer than DELAY(10), multiply loop counter by 10 due to that. (diff) | |
download | wireguard-openbsd-d9bfa9226f5c4e6782b38174c22ce26cfef379df.tar.xz wireguard-openbsd-d9bfa9226f5c4e6782b38174c22ce26cfef379df.zip |
m_freem not m_free if we're dropping the packet because we're not in
the forwarding stp state
-rw-r--r-- | sys/net/if_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 780b4a79913..360584703db 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.52 2001/03/06 06:29:16 angelos Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.53 2001/03/19 23:58:38 jason Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -1053,7 +1053,7 @@ bridgeintr_frame(sc, m) if ((ifl->bif_flags & IFBIF_STP) && (ifl->bif_state == BSTP_IFSTATE_DISABLED || ifl->bif_state == BSTP_IFSTATE_BLOCKING)) { - m_free(m); + m_freem(m); return; } if (bridge_filterrule(&ifl->bif_brlout, &eh) == BRL_ACTION_BLOCK) { |