aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2020-02-27 04:37:15 +0100
committerDavid S. Miller <[email protected]>2020-02-26 20:07:25 -0800
commitb8f33e5d76a7a1b87e0cc760d05bf2477b4e91d6 (patch)
treeebe85d5298d71865ff7ac2ddb4d6d4292b5a28bd /net/switchdev/switchdev.c
parent2c4f9401ceb00167a3bfd322a28aa87b646a253f (diff)
device: add device_change_owner()
Add a helper to change the owner of a device's sysfs entries. This needs to happen when the ownership of a device is changed, e.g. when moving network devices between network namespaces. This function will be used to correctly account for ownership changes, e.g. when moving network devices between network namespaces. Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Christian Brauner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions