rtnetlink: do not depend on RTNL for IFLA_QDISC output
authorEric Dumazet <edumazet@google.com>
Fri, 3 May 2024 19:20:52 +0000 (19:20 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 May 2024 09:14:50 +0000 (11:14 +0200)
commit698419ffb6fc83dd7b0359d9e8476e732967eed2
tree81a3940fdbd2aedd8b6fe8e372b96d346d57458b
parent25010156d2787c9308b2d1dbbf3bf019ee3270ce
rtnetlink: do not depend on RTNL for IFLA_QDISC output

dev->qdisc can be read using RCU protection.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/rtnetlink.c