summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw_pfil.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-01-16 11:13:18 +0000
committerglebius <glebius@FreeBSD.org>2005-01-16 11:13:18 +0000
commit4f5002e05460f9c986d37a299e2fa4440df5a279 (patch)
tree717313b72c1381ac00398d9ecbf0e60d21fadb98 /sys/netinet/ip_fw_pfil.c
parent1ff141d1b61992bd23162070b4c777f5aabebf03 (diff)
downloadFreeBSD-src-4f5002e05460f9c986d37a299e2fa4440df5a279.zip
FreeBSD-src-4f5002e05460f9c986d37a299e2fa4440df5a279.tar.gz
- Reduce number of arguments passed to dummynet_io(), we already have cookie
in struct ip_fw_args itself. - Remove redundant &= 0xffff from dummynet_io().
Diffstat (limited to 'sys/netinet/ip_fw_pfil.c')
-rw-r--r--sys/netinet/ip_fw_pfil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw_pfil.c b/sys/netinet/ip_fw_pfil.c
index d186aab..22308bb 100644
--- a/sys/netinet/ip_fw_pfil.c
+++ b/sys/netinet/ip_fw_pfil.c
@@ -140,7 +140,7 @@ again:
case IP_FW_DUMMYNET:
if (!DUMMYNET_LOADED)
goto drop;
- ip_dn_io_ptr(*m0, args.cookie, DN_TO_IP_IN, &args);
+ ip_dn_io_ptr(*m0, DN_TO_IP_IN, &args);
*m0 = NULL;
return 0; /* packet consumed */
@@ -240,7 +240,7 @@ again:
case IP_FW_DUMMYNET:
if (!DUMMYNET_LOADED)
break;
- ip_dn_io_ptr(*m0, args.cookie, DN_TO_IP_OUT, &args);
+ ip_dn_io_ptr(*m0, DN_TO_IP_OUT, &args);
*m0 = NULL;
return 0; /* packet consumed */
OpenPOWER on IntegriCloud