Re: [PATCH v2] misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os

From: Zheng Hacker
Date: Mon Oct 10 2022 - 12:21:13 EST


> Return VM_FAULT_NOPAGE or some other VM_FAULT_xxx code may be better?
> Since return -EINVAL may confuse upper user
>

Hi Yejian,

Thanks for your reply and sorry for my late reply. That's a good
idea. I'll fix it in the next version of patch.

Regards,
Zheng Wang