kernel - Fix bug in socket_wait() (used by samba)
commiteba6849453ea5b93976ae071b1508475bac99a84
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Dec 2016 20:50:01 +0000 (1 12:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Dec 2016 20:50:01 +0000 (1 12:50 -0800)
treee39bfc13c7a3799cecfb1b32b523a3937bc49c04
parent9533534ee0d6b1e24f603470237eebf37aad839e
kernel - Fix bug in socket_wait() (used by samba)

* socket_wait() was not properly initializing the temporary kqueue
  structure, resulting in corruption that prevented the event from being
  properly deleted.

* Fixes mount_smbfs panic.

Reported-by: dflyum
sys/kern/sys_generic.c