]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Protect check for v_pollinfo == NULL and assignment of the newly allocated
authorkib <kib@FreeBSD.org>
Tue, 28 Oct 2008 12:08:36 +0000 (12:08 +0000)
committerkib <kib@FreeBSD.org>
Tue, 28 Oct 2008 12:08:36 +0000 (12:08 +0000)
commit86b5e61ab2f215486d5afad7de1d637bebd75dca
tree54c8262d09ac7c24f5e64ffba47cb0d5fdd18358
parent19fb7eaf9faed3abf045ff604c41ccb8dfc240af
Protect check for v_pollinfo == NULL and assignment of the newly allocated
vpollinfo with vnode interlock. Fully initialize vpollinfo before putting
pointer to it into vp->v_pollinfo.

Discussed with: dwhite
Tested by: pho
MFC after: 1 week
sys/kern/vfs_subr.c