mbox series

[net-next,0/3] Fixes for devlink rate objects API

Message ID 1624455795-5160-1-git-send-email-dlinkin@nvidia.com
Headers show
Series Fixes for devlink rate objects API | expand

Message

Dmytro Linkin June 23, 2021, 1:43 p.m. UTC
From: Dmytro Linkin <dlinkin@nvidia.com>

Patch #1 fixes not decreased refcount of parent node for destroyed leaf
object.

Patch #2 fixes incorect eswitch mode check.

Patch #3 protects list traversing with a lock.

Dmytro Linkin (3):
  devlink: Decrease refcnt of parent rate object on leaf destroy
  devlink: Remove eswitch mode check for mode set call
  devlink: Protect rate list with lock while switching modes

 net/core/devlink.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)