[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAeHK+xULc-jFCpdNZ4E5Qj3dezv75YS-Uyc9bt5cbrjCRyzLQ@mail.gmail.com>
Date: Wed, 11 Jan 2017 11:18:52 +0100
From: Andrey Konovalov <andreyknvl@...gle.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Cong Wang <xiyou.wangcong@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
James Morris <jmorris@...ei.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Patrick McHardy <kaber@...sh.net>,
netdev <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>,
Dmitry Vyukov <dvyukov@...gle.com>,
Kostya Serebryany <kcc@...gle.com>,
syzkaller <syzkaller@...glegroups.com>
Subject: Re: net/atm: warning in alloc_tx/__might_sleep
On Tue, Jan 10, 2017 at 6:40 PM, Eric Dumazet <edumazet@...gle.com> wrote:
> On Tue, Jan 10, 2017 at 9:35 AM, Cong Wang <xiyou.wangcong@...il.com> wrote:
>> On Mon, Jan 9, 2017 at 9:20 AM, Andrey Konovalov <andreyknvl@...gle.com> wrote:
>>
>> The fix should be straight-forward. Mind to try the attached patch?
Hi Cong,
Your patch with schedule() removed as suggested by Eric fixes the issue.
Tested-by: Andrey Konovalov <andreyknvl@...gle.com>
Thanks!
>
>
> You forgot to remove schedule() ?
>
> schedule();
> + wait_woken(&wait, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT);
Powered by blists - more mailing lists