summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-10-12 09:24:24 +0000
committerglebius <glebius@FreeBSD.org>2012-10-12 09:24:24 +0000
commit9879a454afa69e2734e4833c1af50019f15df7e6 (patch)
tree1598085a4c5d301498cab2e57c98649ad6856253 /sys/netinet/tcp_input.c
parent1f46bef563e94fd201aab281f16815e590ba45c6 (diff)
downloadFreeBSD-src-9879a454afa69e2734e4833c1af50019f15df7e6.zip
FreeBSD-src-9879a454afa69e2734e4833c1af50019f15df7e6.tar.gz
In ip_stripoptions():
- Remove unused argument and incorrect comment. - Fixup ip_len after stripping.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 015b1ff..3b21df1 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -632,7 +632,7 @@ tcp_input(struct mbuf *m, int off0)
* Note: IP leaves IP header in first mbuf.
*/
if (off0 > sizeof (struct ip)) {
- ip_stripoptions(m, (struct mbuf *)0);
+ ip_stripoptions(m);
off0 = sizeof(struct ip);
}
if (m->m_len < sizeof (struct tcpiphdr)) {
OpenPOWER on IntegriCloud