]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net-shapers: implement delete support for NODE scope shaper
authorPaolo Abeni <pabeni@redhat.com>
Wed, 9 Oct 2024 08:09:52 +0000 (10:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Oct 2024 15:30:22 +0000 (08:30 -0700)
commitbf230c497d31ab3bc9beac0df9e186595b351b19
tree5b6b4b2090365b34055a0a2121829f1deb026dd3
parent5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e
net-shapers: implement delete support for NODE scope shaper

Leverage the previously introduced group operation to implement
the removal of NODE scope shaper, re-linking its leaves under the
the parent node before actually deleting the specified NODE scope
shaper.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/763d484b5b69e365acccfd8031b183c647a367a4.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/shaper/shaper.c