summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw_pfil.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_fw_pfil.c')
-rw-r--r--sys/netinet/ip_fw_pfil.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw_pfil.c b/sys/netinet/ip_fw_pfil.c
index 0103d8c..10a01ea 100644
--- a/sys/netinet/ip_fw_pfil.c
+++ b/sys/netinet/ip_fw_pfil.c
@@ -168,8 +168,10 @@ again:
if (divert) {
*m0 = NULL;
return 0; /* packet consumed */
- } else
+ } else {
+ args.rule = NULL;
goto again; /* continue with packet */
+ }
case IP_FW_NGTEE:
if (!NG_IPFW_LOADED)
@@ -291,8 +293,10 @@ again:
if (divert) {
*m0 = NULL;
return 0; /* packet consumed */
- } else
+ } else {
+ args.rule = NULL;
goto again; /* continue with packet */
+ }
case IP_FW_NGTEE:
if (!NG_IPFW_LOADED)
OpenPOWER on IntegriCloud