summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-02-02 00:18:00 +0000
committerluigi <luigi@FreeBSD.org>2001-02-02 00:18:00 +0000
commitafaf9310f9d53654b62eec6d1e161a930b48ec6c (patch)
tree7883054a4e8cd6ddbdbfa3f02f94d51979d07a69 /sys/netinet/ip_fw.c
parente2f5e56cc5eb14305428986e66fcc781a0e712eb (diff)
downloadFreeBSD-src-afaf9310f9d53654b62eec6d1e161a930b48ec6c.zip
FreeBSD-src-afaf9310f9d53654b62eec6d1e161a930b48ec6c.tar.gz
MFS: bridge/ipfw/dummynet fixes (bridge.c will be committed separately)
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index ca112d5..1aefb7a 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -1445,10 +1445,8 @@ dropit:
/*
* Finally, drop the packet.
*/
- if (*m) {
- m_freem(*m);
- *m = NULL;
- }
+ if (*m)
+ return(IP_FW_PORT_DENY_FLAG);
return(0);
#undef BRIDGED
}
OpenPOWER on IntegriCloud