summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsashan <sashan@openbsd.org>2016-03-08 09:09:43 +0000
committersashan <sashan@openbsd.org>2016-03-08 09:09:43 +0000
commitee64539f0db39c97c406f2aa07263507b225aa8b (patch)
tree90d57e6292433c34c8b4375a79a799d3ee80cf59
parentChange where we note the 'last' pcpu we ran on. This is needed for upcoming (diff)
downloadwireguard-openbsd-ee64539f0db39c97c406f2aa07263507b225aa8b.tar.xz
wireguard-openbsd-ee64539f0db39c97c406f2aa07263507b225aa8b.zip
- bridge_localbroadcast() must call pf_pkt_addr_changed()
(makes KASSERT() in pf_test() to go away) Thanks to Mark and Mattieu for quick testing OK mpi@
-rw-r--r--sys/net/if_bridge.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 87b7c5042a0..a36db05c6d4 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.275 2015/12/05 10:07:55 tedu Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.276 2016/03/08 09:09:43 sashan Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -1283,6 +1283,10 @@ bridge_localbroadcast(struct bridge_softc *sc, struct ifnet *ifp,
return;
}
+#if NPF > 0
+ pf_pkt_addr_changed(m1);
+#endif /* NPF */
+
bridge_ifinput(ifp, m1);
}