From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Senozhatsky Subject: Re: [PATCH] NFC: llcp: fix nfc_llcp_send_ui_frame() lockup Date: Tue, 26 Jun 2018 16:00:33 +0900 Message-ID: <20180626070033.GA25715@jagdpanzerIV> References: <20180626044119.30118-1-sergey.senozhatsky@gmail.com> <20180626051221.GC31439@jagdpanzerIV> <8c410102-43ab-dfdb-0d71-2ee5951e1af8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sergey Senozhatsky , Dmitry Vyukov , Samuel Ortiz , "David S. Miller" , Steven Rostedt , Petr Mladek , syzkaller-bugs , linux-wireless@vger.kernel.org, netdev , LKML , syzbot , Sergey Senozhatsky To: Eric Dumazet Return-path: Content-Disposition: inline In-Reply-To: <8c410102-43ab-dfdb-0d71-2ee5951e1af8@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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