lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH AUTOSEL 5.15 33/46] net/sched: taprio: taprio_dump and taprio_change are protected by rtnl_mutex
    Date
    On Sun, Oct 09, 2022 at 06:18:58PM -0400, Sasha Levin wrote:
    > From: Vladimir Oltean <vladimir.oltean@nxp.com>
    >
    > [ Upstream commit 18cdd2f0998a4967b1fff4c43ed9aef049e42c39 ]
    >
    > Since the writer-side lock is taken here, we do not need to open an RCU
    > read-side critical section, instead we can use rtnl_dereference() to
    > tell lockdep we are serialized with concurrent writes.
    >
    > Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
    > Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    > Signed-off-by: Sasha Levin <sashal@kernel.org>
    > ---

    Not needed for stable kernels, please drop, thanks.
    \
     
     \ /
      Last update: 2022-10-10 15:34    [W:4.547 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site