Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 20:24:43 +0100
From:      Pawel Tyll <ptyll@nitronet.pl>
To:        freebsd-stable@freebsd.org
Cc:        Lawrence Stewart <lstewart@freebsd.org>, Gleb Smirnoff <glebius@FreeBSD.org>, Steven Hartland <killing@multiplay.co.uk>, Ronald Klop <ronald-freebsd8@klop.yi.org>
Subject:   Re: 8.3 -> 9.1 results in often crashes. [Solved]
Message-ID:  <7010188086.20121212202443@nitronet.pl>

index | next in thread | raw e-mail

[-- Attachment #1 --]
In closing, Gleb has solved the problem with attached patch.

Many  thanks  to  everyone involved and to Gleb for finding out what's
wrong and fixing it.

p.
[-- Attachment #2 --]
Index: tcp_input.c
===================================================================
--- tcp_input.c	(revision 244114)
+++ tcp_input.c	(working copy)
@@ -822,6 +822,7 @@
 		/* Remove the tag from the packet.  We don't need it anymore. */
 		m_tag_delete(m, fwd_tag);
 		m->m_flags &= ~M_IP_NEXTHOP;
+		fwd_tag = NULL;
 	} else if (isipv6) {
 		inp = in6_pcblookup_mbuf(&V_tcbinfo, &ip6->ip6_src,
 		    th->th_sport, &ip6->ip6_dst, th->th_dport,
@@ -859,6 +860,7 @@
 		/* Remove the tag from the packet.  We don't need it anymore. */
 		m_tag_delete(m, fwd_tag);
 		m->m_flags &= ~M_IP_NEXTHOP;
+		fwd_tag = NULL;
 	} else
 		inp = in_pcblookup_mbuf(&V_tcbinfo, ip->ip_src,
 		    th->th_sport, ip->ip_dst, th->th_dport,
help

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