Date: Tue, 29 Apr 2008 20:43:08 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if.c Message-ID: <200804292043.m3TKh8d9025640@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2008-04-29 20:43:08 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/net if.c
Log:
MFC rev 1.278:
Delay the global registration of the struct ifnet in if_alloc() until after
we're certain the allocation will entierly succeed. This fixes a leak in a
fairly unlikely case.
Reported by: vijay singh <vijjus at rocketmail dot com>
Revision Changes Path
1.273.2.1 +1 -1 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804292043.m3TKh8d9025640>
