Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 09:02:21 +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: r242077 - head/sys/netinet
Message-ID:  <201210250902.q9P92LBr016618@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Oct 25 09:02:21 2012
New Revision: 242077
URL: http://svn.freebsd.org/changeset/base/242077

Log:
  After r241923 the updated ip_len no longer needed.

Modified:
  head/sys/netinet/ip_input.c

Modified: head/sys/netinet/ip_input.c
==============================================================================
--- head/sys/netinet/ip_input.c	Thu Oct 25 09:00:57 2012	(r242076)
+++ head/sys/netinet/ip_input.c	Thu Oct 25 09:02:21 2012	(r242077)
@@ -728,7 +728,6 @@ ours:
 		ip = mtod(m, struct ip *);
 		/* Get the header length of the reassembled packet */
 		hlen = ip->ip_hl << 2;
-		ip_len = ntohs(ip->ip_len);
 	}
 
 #ifdef IPSEC



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