Revert "devlink: Remove not-executed trap policer notifications"
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 26 Oct 2021 19:40:42 +0000 (22:40 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 27 Oct 2021 18:58:07 +0000 (11:58 -0700)
commitc5e0321e43deed0512b34d8d8d40a16c0e22b541
tree37f13a6b3d531fb1acb55cbc9960ea4f41ac83be
parentfb9d19c2d844c415d612bb93c231abf2ccf2a821
Revert "devlink: Remove not-executed trap policer notifications"

This reverts commit 22849b5ea5952d853547cc5e0651f34a246b2a4f as it
revealed that mlxsw and netdevsim (copy/paste from mlxsw) reregisters
devlink objects during another devlink user triggered command.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c