[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <585C127E.7040509@gmail.com>
Date: Thu, 22 Dec 2016 09:50:54 -0800
From: John Fastabend <john.fastabend@...il.com>
To: David Miller <davem@...emloft.net>, daniel@...earbox.net
Cc: xiyou.wangcong@...il.com, shahark@...lanox.com,
gerlitz.or@...il.com, roid@...lanox.com, jiri@...lanox.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net, sched: fix soft lockup in tc_classify
On 16-12-22 08:53 AM, David Miller wrote:
> From: Daniel Borkmann <daniel@...earbox.net>
> Date: Wed, 21 Dec 2016 22:07:48 +0100
>
>> Ok, you mean for net. In that case I prefer the smaller sized fix to
>> be honest. It also covers everything from the point where we fetch
>> the chain via cops->tcf_chain() to the end of the function, which is
>> where most of the complexity resides, and only the two mentioned
>> commits do the relock, so as a fix I think it's fine as-is. As
>> mentioned, if there's need to refactor tc_ctl_tfilter() net-next
>> would be better, imho.
>
> Please, can you two work towards an agreement as to what fix should
> go in at this time?
>
> Thanks.
>
Thanks for fixing this!
I have a slight preference to push this patch into net as its been
tested already by Shahar and is not particularly invasive. Then for
net-next do a larger cleanup to get rid of some of the complexity per
Cong's suggestion.
.John
Powered by blists - more mailing lists