diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-17 00:00:05 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-17 00:00:05 +0000 |
commit | cdf80b55de3a3055d891d95274d41d7f2900c0c2 (patch) | |
tree | 9daa395a5533155e19541623203a0379008bfdbf /sys | |
parent | 8b8efe4c7203cced58bc44268c10ab24af7b3927 (diff) |
dont defer broadcast or multicast packets.
ok sthen@ henning@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_pfsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index c64b965a57d..c1fdc4648db 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.141 2010/01/18 23:52:46 mcbride Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.142 2010/02/17 00:00:04 dlg Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -1749,7 +1749,7 @@ pfsync_defer(struct pf_state *st, struct mbuf *m) splsoftassert(IPL_SOFTNET); - if (!sc->sc_defer) + if (!sc->sc_defer || m->m_flags & (M_BCAST|M_MCAST)) return (0); if (sc->sc_deferred >= 128) |