]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: make net_class ro_after_init
authorstephen hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 20:46:21 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Aug 2017 05:37:21 +0000 (22:37 -0700)
commite6d473e63536ea1989dc63c066f0c0464a969324
tree26922aa532e18f5cd82bda214e1ba61fc22c1eb8
parentb793dc5c6edfb106fd57d12ad6aca64bf160b403
net: make net_class ro_after_init

The net_class in sysfs is only modified on init.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c