summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorPaul de Weerd <weerd@cvs.openbsd.org>2012-12-07 23:52:10 +0000
committerPaul de Weerd <weerd@cvs.openbsd.org>2012-12-07 23:52:10 +0000
commit29a49a02294f10ec668b0e3a4aca0e40feeb0f3b (patch)
tree58afbbc9596045a3bbd10905d2cf996fe5002f77 /sys/net
parent39083b2d16dc724ecc3b582ed45d83a1cc5b1fbf (diff)
Remove stray semicolon. Fixes mbuf leak with devices sending BPDUs to
bridge(4) members that are not configured with stp. Lots of debug help (and actual find) sthen@ OK sthen@, mpf@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index c310abe759b..67a57b1a443 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.202 2012/11/06 12:32:41 henning Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.203 2012/12/07 23:52:09 weerd Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -1353,7 +1353,7 @@ bridge_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
if (eh->ether_dhost[ETHER_ADDR_LEN - 1] == 0) {
/* STP traffic */
if ((m = bstp_input(sc->sc_stp, ifl->bif_stp,
- eh, m)) == NULL);
+ eh, m)) == NULL)
return (NULL);
} else if (eh->ether_dhost[ETHER_ADDR_LEN - 1] <= 0xf) {
m_freem(m);