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

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

Fixes: 22849b5ea595 ("devlink: Remove not-executed trap policer notifications")
Reported-by: syzbot+93d5accfaefceedf43c1@syzkaller.appspotmail.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c