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

Re: [Nbd] nbd: Oops because nbd doesn't prevent NBD_CLEAR_SOCK while sock_xmit() is working on a receive

Mike Snitzer wrote:

With the nbd_sock_xmit_oops.patch applied this Oops no longer happens.
 I think my original patch's use of EINVAL should be changed to EIO.
Any other comments on the fix are welcome.

No, EINVAL is fine, so the original patch looks good to me.

Paul, would you like an updated patch that you push upstream?  Or
should I just submit the patch and Cc: you?

The original one is fine, go ahead and send it.


Reply to: