Subject: CVS commit: [netbsd-2] src/sys/netinet6
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <email@example.com>
Date: 10/28/2005 23:00:11
Module Name: src
Committed By: riz
Date: Fri Oct 28 23:00:11 UTC 2005
src/sys/netinet6 [netbsd-2]: icmp6.c
Pull up following revision(s) (requested by bouyer in ticket #5938):
sys/netinet6/icmp6.c: revision 1.111
In icmp6_redirect_output(), sip6 is initialised to point to the data area of
m0. But m0 may be freed later, so trying to use sip6 at the end of this
function is wrong. My guess is that we want to reference the data area
of m (the mbuf about to be send) instead at this point.
Fix a panic on Xen (where a data area of a mbuf may be unmapped when the
mbuf is freed), and probably potential data/pool corruption in other cases.
To generate a diff of this commit:
cvs rdiff -r18.104.22.168 -r22.214.171.124.2.1 src/sys/netinet6/icmp6.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.