Re: [PATCH] NFC: llcp: fix nfc_llcp_send_ui_frame() lockup

From: Sergey Senozhatsky
Date: Tue Jun 26 2018 - 03:00:43 EST


On (06/25/18 23:44), Eric Dumazet wrote:
> > The loop is still infinite, correct, but we have a preemption point now.
> > Sure, net people can come with a much better solution, I'll be happy to
> > scratch my patch.
> >
>
> This can not be the right solution, think about current thread being real time,
> cond_resched() might be a nop.
> NFC maintainers should really take a look at this.

I'm all for it.

-ss