Skip to content

devlink port attribute fixes

Parav Pandit netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- avoided refactoring the port fill attribute routine

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2devlink: Hold rtnl lock while reading netdev attributesnet/core/devlink.c+4 -00 repliesApplied
2/2devlink: Make sure devlink instance and port are in same net namespacenet/core/devlink.c+2 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/2] devlink port attribute fixes

This patchset contains 2 small fixes for devlink port attributes.

Patch summary:
Patch-1 synchronize the devlink port attribute reader
with net namespace change operation
Patch-2 Ensure to return devlink port's netdevice attributes
when netdev and devlink instance belong to same net namespace

---
Changelog:
v1->v2:
- avoided refactoring the port fill attribute routine

Parav Pandit (2):
devlink: Hold rtnl lock while reading netdev attributes
devlink: Make sure devlink instance and port are in same net namespace

 net/core/devlink.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2