Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 09:32:38 +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: r241481 - head/sys/netinet
Message-ID:  <201210120932.q9C9WcpF077027@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Fri Oct 12 09:32:38 2012
New Revision: 241481
URL: http://svn.freebsd.org/changeset/base/241481

Log:
  Revert fixup of ip_len from r241480. Now stack isn't yet
  ready for that change.

Modified:
  head/sys/netinet/ip_options.c

Modified: head/sys/netinet/ip_options.c
==============================================================================
--- head/sys/netinet/ip_options.c	Fri Oct 12 09:24:24 2012	(r241480)
+++ head/sys/netinet/ip_options.c	Fri Oct 12 09:32:38 2012	(r241481)
@@ -472,7 +472,6 @@ ip_stripoptions(struct mbuf *m)
 		m->m_pkthdr.len -= olen;
 	ip->ip_v = IPVERSION;
 	ip->ip_hl = sizeof(struct ip) >> 2;
-	ip->ip_len -= olen;
 }
 
 /*



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