mbox series

[net,0/2] devlink port attribute fixes

Message ID 20201122061257.60425-1-parav@nvidia.com
Headers show
Series devlink port attribute fixes | expand

Message

Parav Pandit Nov. 22, 2020, 6:12 a.m. UTC
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

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 | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)