summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-10-12 09:32:38 +0000
committerglebius <glebius@FreeBSD.org>2012-10-12 09:32:38 +0000
commit1e75ca6470975d137f63998069134f19fd2ce724 (patch)
treebc074079d3a92997da8280e9e36770f845ec4f6f /sys/netinet/ip_options.c
parent9879a454afa69e2734e4833c1af50019f15df7e6 (diff)
downloadFreeBSD-src-1e75ca6470975d137f63998069134f19fd2ce724.zip
FreeBSD-src-1e75ca6470975d137f63998069134f19fd2ce724.tar.gz
Revert fixup of ip_len from r241480. Now stack isn't yet
ready for that change.
Diffstat (limited to 'sys/netinet/ip_options.c')
-rw-r--r--sys/netinet/ip_options.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_options.c b/sys/netinet/ip_options.c
index b618445..c3c3535 100644
--- a/sys/netinet/ip_options.c
+++ b/sys/netinet/ip_options.c
@@ -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;
}
/*
OpenPOWER on IntegriCloud