diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2010-03-12 19:14:58 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2010-03-12 19:14:58 +0000 |
commit | 9fee1bd1d856ff481f9e62927114453fc9d3945d (patch) | |
tree | d94a5659ccd0569be846118016503c2660f4ac96 /sys/net/if_var.h | |
parent | 388214e4f22f92329b9823ebc78ee793fd2f6317 (diff) | |
download | src-9fee1bd1d856ff481f9e62927114453fc9d3945d.tar.gz src-9fee1bd1d856ff481f9e62927114453fc9d3945d.zip |
Tidy up callout for select(2) and read timeout.
- Add a missing callout_drain(9) before the descriptor deallocation.[1]
- Prefer callout_init_mtx(9) over callout_init(9) and let the callout
subsystem handle the mutex for callout function.
PR: kern/144453
Submitted by: Alexander Sack (asack at niksun dot com)[1]
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=205092
Diffstat (limited to 'sys/net/if_var.h')
0 files changed, 0 insertions, 0 deletions