summaryrefslogtreecommitdiffstats
path: root/sys/net/if_disc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-11-08 17:43:05 +0000
committerjhb <jhb@FreeBSD.org>2005-11-08 17:43:05 +0000
commit7b0555d4591f77539a864cf4d9ca449610fd188c (patch)
tree342f2c64a159673cd6343e11d777a2f703e84464 /sys/net/if_disc.c
parent62ab0fa06267ba40af67960e13afce8dfc36bc46 (diff)
downloadFreeBSD-src-7b0555d4591f77539a864cf4d9ca449610fd188c.zip
FreeBSD-src-7b0555d4591f77539a864cf4d9ca449610fd188c.tar.gz
Various and sundry cleanups:
- Use curthread for calls to knlist_delete() and add a big comment explaining why as well as appropriate assertions. - Use TAILQ_FOREACH and TAILQ_FOREACH_SAFE instead of handrolling them. - Use fget() family of functions to lookup file objects instead of grovelling around in file descriptor tables. - Destroy the aio_freeproc mutex if we are unloaded. Tested on: i386
Diffstat (limited to 'sys/net/if_disc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud