Date: Tue, 25 Aug 2009 20:21:16 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if.c Message-ID: <200908252021.n7PKLYC7007322@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-08-25 20:21:16 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
SVN rev 196553 on 2009-08-25 20:21:16Z by rwatson
Break out allocation of new ifindex values from if_alloc() and if_vmove(),
and centralize in a single function ifindex_alloc(). Assert the
IFNET_WLOCK, and add missing IFNET_WLOCK in if_alloc(). This does not
close all known races in this code.
Reviewed by: bz
MFC after: 3 days
Revision Changes Path
1.364 +42 -34 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908252021.n7PKLYC7007322>
