Konstantin Belousov 2c38cc792e When creation of the v_pollinfo raced and our instance of vpollinfo
must be destroyed, knlist_clear() and seldrain() calls could be
avoided, since vpollinfo was not used.  More, the knlist_clear()
calling protocol requires the knlist locked, which is not true at the
call site.

Split the destruction into the helper destroy_vpollinfo_free(), and
call it when raced, instead of destroy_vpollinfo().

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:   3 days
2013-07-28 06:59:29 +00:00
..
2013-07-21 19:44:53 +00:00
2013-07-27 20:47:01 +00:00
2013-07-26 21:34:09 +00:00
2013-07-27 20:47:01 +00:00
2013-07-27 20:47:01 +00:00
2013-07-25 16:34:34 +00:00
2013-06-01 12:21:59 +00:00
2013-04-17 11:45:15 +00:00
2013-07-27 20:47:01 +00:00
2013-06-18 06:55:58 +00:00