]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix sysfs permssions when device changes network namespace
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 27 Feb 2020 03:37:19 +0000 (04:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:07:26 +0000 (20:07 -0800)
commit3b8d63e08a31b37f08d2d57b9702b751c0b064d1
tree3047e1dc97e973e40c22babe7ba0d831307c0f00
parente51ca9a9482ca6f96c15a3d2b18c232c20775c1e
net: fix sysfs permssions when device changes network namespace

Now that we moved all the helpers in place and make use netdev_change_owner()
to fixup the permissions when moving network devices between network
namespaces.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c