Date: Fri, 5 Sep 2003 13:58:59 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_vlan.c Message-ID: <200309052058.h85KwxfE060067@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/09/05 13:58:59 PDT
FreeBSD src repository
Modified files:
sys/net if_vlan.c
Log:
Add locking. We use a single lock to guard the global vlan list and also
to protect the vlan state in each ifnet (e.g. vlan count). The latter is
probably better handled through an ifnet-centric means but since changes
are infrequent shouldn't matter for now.
Sponsored by: FreeBSD Foundation
Revision Changes Path
1.52 +47 -17 src/sys/net/if_vlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309052058.h85KwxfE060067>
