NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50467: Panic from disconnecting phone while reading its contents



The following reply was made to PR kern/50467; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/50467: Panic from disconnecting phone while reading its
 contents
Date: Mon, 15 Feb 2016 11:29:52 +0000

 Not sent to gnats.
 
    ------
 
 From: Christos Zoulas <christos%astron.com@localhost>
 To: netbsd-bugs%netbsd.org@localhost
 Subject: Re: kern/50467: Panic from disconnecting phone while reading its
 	contents
 Date: Fri, 27 Nov 2015 18:24:11 +0000 (UTC)
 
 This dies in spec_strategy:
 
 	KASSERT(vp == vp->v_specnode->sn_dev->sd_bdevvp);
 
 presumably because the vnode does not match after the device unmounted.
 Instead of KASSERT() you can check for the condition and return EIO...
 Does the kernel go further if you do that?
 
 christos
 


Home | Main Index | Thread Index | Old Index