From: patchwork-bot+netdevbpf@kernel.org
To: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us,
davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
Date: Tue, 31 Aug 2021 03:40:05 +0000 [thread overview]
Message-ID: <163038120547.6773.16268744474325460002.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <1630252681-71588-1-git-send-email-xiyuyang19@fudan.edu.cn>
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sun, 29 Aug 2021 23:58:01 +0800 you wrote:
> The reference counting issue happens in one exception handling path of
> cbq_change_class(). When failing to get tcf_block, the function forgets
> to decrease the refcount of "rtab" increased by qdisc_put_rtab(),
> causing a refcount leak.
>
> Fix this issue by jumping to "failure" label when get tcf_block failed.
>
> [...]
Here is the summary with links:
- net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
https://git.kernel.org/netdev/net-next/c/c66070125837
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-08-31 3:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-29 15:58 [PATCH] net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed Xiyu Yang
2021-08-30 18:05 ` Jakub Kicinski
2021-08-31 1:18 ` Cong Wang
2021-08-31 3:40 ` patchwork-bot+netdevbpf [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=163038120547.6773.16268744474325460002.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
--cc=xiyuyang19@fudan.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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