2023-03-16 22:40 GMT+09:00, Marios Makassikis <mmakassikis@xxxxxxxxxx>: > Commit 83dcedd5540 ("ksmbd: fix infinite loop in > ksmbd_conn_handler_loop()"), > changes GFP modifiers passed to kvmalloc(). However, the latter calls > kvmalloc_node() which does not support __GFP_NORETRY. > > Signed-off-by: Marios Makassikis <mmakassikis@xxxxxxxxxx> This patch fix generic/551 test. I will directly update the patch description. Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Thanks. > --- > fs/ksmbd/connection.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/fs/ksmbd/connection.c b/fs/ksmbd/connection.c > index 5b10b03800c1..54e077597f4e 100644 > --- a/fs/ksmbd/connection.c > +++ b/fs/ksmbd/connection.c > @@ -329,10 +329,7 @@ int ksmbd_conn_handler_loop(void *p) > > /* 4 for rfc1002 length field */ > size = pdu_size + 4; > - conn->request_buf = kvmalloc(size, > - GFP_KERNEL | > - __GFP_NOWARN | > - __GFP_NORETRY); > + conn->request_buf = kvmalloc(size, GFP_KERNEL); > if (!conn->request_buf) > break; > > -- > 2.34.1 > >