From: Brian Norris <briannorris@chromium•org>
To: Yunsheng Lin <linyunsheng@huawei•com>
Cc: gregkh@linuxfoundation•org, stable@vger•kernel.org,
vpai@akamai•com, Joakim.Tjernlund@infinera•com,
xiyou.wangcong@gmail•com, johunt@akamai•com, jhs@mojatatu•com,
jiri@resnulli•us, davem@davemloft•net, kuba@kernel•org,
netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
linuxarm@huawei•com, john.fastabend@gmail•com,
eric.dumazet@gmail•com, dsahern@gmail•com
Subject: Re: [PATCH stable] net: sch_generic: fix the missing new qdisc assignment bug
Date: Thu, 12 Nov 2020 19:51:19 -0800 [thread overview]
Message-ID: <20201113035119.GA1914997@google.com> (raw)
In-Reply-To: <1604373938-211588-1-git-send-email-linyunsheng@huawei.com>
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@huawei•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@chromium•org>
Thanks!
prev parent reply other threads:[~2020-11-13 3:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-03 3:25 [PATCH stable] net: sch_generic: fix the missing new qdisc assignment bug Yunsheng Lin
2020-11-03 15:46 ` Vishwanath Pai
2020-11-03 19:06 ` Jakub Kicinski
2020-11-09 12:46 ` Greg KH
2020-11-10 0:58 ` Yunsheng Lin
2020-11-17 12:09 ` Greg KH
2020-11-13 3:51 ` Brian Norris [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201113035119.GA1914997@google.com \
--to=briannorris@chromium$(echo .)org \
--cc=Joakim.Tjernlund@infinera$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dsahern@gmail$(echo .)com \
--cc=eric.dumazet@gmail$(echo .)com \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=jhs@mojatatu$(echo .)com \
--cc=jiri@resnulli$(echo .)us \
--cc=john.fastabend@gmail$(echo .)com \
--cc=johunt@akamai$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxarm@huawei$(echo .)com \
--cc=linyunsheng@huawei$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stable@vger$(echo .)kernel.org \
--cc=vpai@akamai$(echo .)com \
--cc=xiyou.wangcong@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox