Date: Sat, 19 Apr 2008 22:04:51 +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: <200804192204.m3JM4qGW041648@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2008-04-19 22:04:51 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
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>
MFC after: 1 week
Revision Changes Path
1.278 +1 -1 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804192204.m3JM4qGW041648>
