svn commit: r242077 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Thu Oct 25 09:02:21 UTC 2012


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


More information about the svn-src-all mailing list