svn commit: r241481 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Fri Oct 12 09:32:39 UTC 2012


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;
 }
 
 /*


More information about the svn-src-head mailing list