diff options
author | sam <sam@FreeBSD.org> | 2003-09-05 20:58:59 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-09-05 20:58:59 +0000 |
commit | fb2ef015b9f17f1f90bb5f9f560f852731ee36a9 (patch) | |
tree | fc653820abb97ac0f8a5fac7c99f551f2ad3bbd4 /sys/kern/subr_trap.c | |
parent | 35682ec271974c36e8f71518d1a2f8bcefac2460 (diff) | |
download | FreeBSD-src-fb2ef015b9f17f1f90bb5f9f560f852731ee36a9.zip FreeBSD-src-fb2ef015b9f17f1f90bb5f9f560f852731ee36a9.tar.gz |
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
Diffstat (limited to 'sys/kern/subr_trap.c')
0 files changed, 0 insertions, 0 deletions