Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2012 22:58:28 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241359 - head/sys/netpfil/ipfw
Message-ID:  <201210082258.q98MwSQG084374@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210082258.q98MwSQG084374>