svn commit: r241359 - head/sys/netpfil/ipfw
Gleb Smirnoff
glebius at FreeBSD.org
Tue Oct 9 06:29:18 UTC 2012
Author: glebius
Date: Mon Oct 8 22:58:28 2012
New Revision: 241359
URL: http://svn.freebsd.org/changeset/base/241359
Log:
Catch up with r241245 and do not return packet back in host byte order.
Modified:
head/sys/netpfil/ipfw/ip_fw_pfil.c
Modified: head/sys/netpfil/ipfw/ip_fw_pfil.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_pfil.c Mon Oct 8 22:38:15 2012 (r241358)
+++ head/sys/netpfil/ipfw/ip_fw_pfil.c Mon Oct 8 22:58:28 2012 (r241359)
@@ -138,11 +138,8 @@ again:
if (tag != NULL) {
args.rule = *((struct ipfw_rule_ref *)(tag+1));
m_tag_delete(*m0, tag);
- if (args.rule.info & IPFW_ONEPASS) {
- if (mtod(*m0, struct ip *)->ip_v == 4)
- SET_HOST_IPLEN(mtod(*m0, struct ip *));
+ if (args.rule.info & IPFW_ONEPASS)
return (0);
- }
}
args.m = *m0;
More information about the svn-src-head
mailing list