]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: shaper: fix trivial ordering issue in net_shaper_commit()
authorJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2026 19:28:56 +0000 (12:28 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 12 May 2026 14:14:59 +0000 (16:14 +0200)
commit235fb5376139c3419f2218349f1fa2f06f24f7ad
tree4f7cb5298fc777b64b2a3fc33fa4a05f1065498f
parent7cee43fcb0c3f71441d2faaa8c2202b6a88b6bef
net: shaper: fix trivial ordering issue in net_shaper_commit()

We should update the entry before we mark it as valid.

Fixes: 93954b40f6a4 ("net-shapers: implement NL set and delete operations")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260510192904.3987113-3-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/shaper/shaper.c