]> 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)
commitb4f956be064aee97ca9c5dcd55d7ef50e9a34e07
tree3047e1dc97e973e40c22babe7ba0d831307c0f00
parent4f433983354263dd065242cdec2b618e1434d0a5
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