kernel - Fix badfo_kqfilter for badfileops
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 16:02:47 +0000 (09:02 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 16:02:47 +0000 (09:02 -0700)
commit304d60e8383b8c29ca01daedd3d21169d4347997
tree685b4651eec902dc345ffa9e7acb5db2ba454948
parentac7ea585dbf19b095f0d918975bca09adc271766
kernel - Fix badfo_kqfilter for badfileops

* badfo_kqfilter() must return an error to cause the kqueue
  registraton to drop the knote, otherwise a kernel panic
  will occur because the default file_filtops isn't replaced
  and has not detach or event functions.
sys/kern/kern_descrip.c