[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201113035119.GA1914997@google.com>
Date: Thu, 12 Nov 2020 19:51:19 -0800
From: Brian Norris <briannorris@...omium.org>
To: Yunsheng Lin <linyunsheng@...wei.com>
Cc: gregkh@...uxfoundation.org, stable@...r.kernel.org,
vpai@...mai.com, Joakim.Tjernlund@...inera.com,
xiyou.wangcong@...il.com, johunt@...mai.com, jhs@...atatu.com,
jiri@...nulli.us, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, john.fastabend@...il.com,
eric.dumazet@...il.com, dsahern@...il.com
Subject: Re: [PATCH stable] net: sch_generic: fix the missing new qdisc
assignment bug
On Tue, Nov 03, 2020 at 11:25:38AM +0800, Yunsheng Lin wrote:
> commit 2fb541c862c9 ("net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc")
>
> When the above upstream commit is backported to stable kernel,
> one assignment is missing, which causes two problems reported
> by Joakim and Vishwanath, see [1] and [2].
>
> So add the assignment back to fix it.
>
> 1. https://www.spinics.net/lists/netdev/msg693916.html
> 2. https://www.spinics.net/lists/netdev/msg695131.html
>
> Fixes: 749cc0b0c7f3 ("net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc")
> Signed-off-by: Yunsheng Lin <linyunsheng@...wei.com>
For whatever it's worth, we've seen similar problems (particularly,
ENOBUFS on AF_PACKET sockets) and have tested this fix on 4.19.y (we're
also queueing it up on our 5.4.y branch, but haven't tested it as much):
Tested-by: Brian Norris <briannorris@...omium.org>
Thanks!
Powered by blists - more mailing lists