mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 01:11:30 -05:00
disposing fifo resources in fifo_cleanup() instead using of "vp->v_usecount == 1". There may be other references to the vnode, for instance by nullfs, at the time fifo_open() or fifo_close() is called, which could cause a resource leak. Don't bother grabbing the vnode interlock in fifo_cleanup() since it no longer accesses v_usecount. |
||
|---|---|---|
| .. | ||
| fifo.h | ||
| fifo_vnops.c | ||