Date: Sat, 31 Jan 2009 10:48:02 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_llatbl.c src/sys/netinet6 in6.c in6_gif.c in6_ifattach.c nd6_nbr.c Message-ID: <200901311048.n0VAmp7f053511@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-01-31 10:48:02 UTC
FreeBSD src repository
Modified files:
sys/net if_llatbl.c
sys/netinet6 in6.c in6_gif.c in6_ifattach.c nd6_nbr.c
Log:
SVN rev 187946 on 2009-01-31 10:48:02Z by bz
Like with r185713 make sure to not leak a lock as rtalloc1(9) returns
a locked route. Thus we have to use RTFREE_LOCKED(9) to get it unlocked
and rtfree(9)d rather than just rtfree(9)d.
Since the PR was filed, new places with the same problem were added
with new code. Also check that the rt is valid before freeing it
either way there.
PR: kern/129793
Submitted by: Dheeraj Reddy <dheeraj@ece.gatech.edu>
MFC after: 2 weeks
Committed from: Bugathon #6
Revision Changes Path
1.3 +3 -2 src/sys/net/if_llatbl.c
1.98 +3 -3 src/sys/netinet6/in6.c
1.37 +2 -2 src/sys/netinet6/in6_gif.c
1.55 +1 -1 src/sys/netinet6/in6_ifattach.c
1.61 +1 -1 src/sys/netinet6/nd6_nbr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901311048.n0VAmp7f053511>
