diff options
Diffstat (limited to 'sys/netpfil/ipfw/ip_dn_io.c')
-rw-r--r-- | sys/netpfil/ipfw/ip_dn_io.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/ip_dn_io.c b/sys/netpfil/ipfw/ip_dn_io.c index 0bd8690767795..c5f0f15187518 100644 --- a/sys/netpfil/ipfw/ip_dn_io.c +++ b/sys/netpfil/ipfw/ip_dn_io.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> /* IFNAMSIZ, struct ifaddr, ifq head, lock.h mutex.h */ +#include <net/if_var.h> /* NET_EPOCH_... */ #include <net/netisr.h> #include <net/vnet.h> @@ -741,6 +742,8 @@ dummynet_send(struct mbuf *m) { struct mbuf *n; + NET_EPOCH_ASSERT(); + for (; m != NULL; m = n) { struct ifnet *ifp = NULL; /* gcc 3.4.6 complains */ struct m_tag *tag; |