lkml.org 
[lkml]   [2021]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
    From
    Date
    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


    \
     
     \ /
      Last update: 2021-08-31 05:40    [W:2.410 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site