OSDN Git Service

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)
commitef6a4c88e9e11bc32cd02b052d04745af9691412
tree3047e1dc97e973e40c22babe7ba0d831307c0f00
parentd755407d4444c3e0fbd7d7c3aa666d595e9ab217
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