Loading include/linux/netdevice.h +1 −1 Original line number Diff line number Diff line Loading @@ -4028,7 +4028,7 @@ static inline void netdev_class_remove_file(const struct class_attribute *class_ netdev_class_remove_file_ns(class_attr, NULL); } extern struct kobj_ns_type_operations net_ns_type_operations; extern const struct kobj_ns_type_operations net_ns_type_operations; const char *netdev_drivername(const struct net_device *dev); Loading net/core/net-sysfs.c +1 −1 Original line number Diff line number Diff line Loading @@ -1461,7 +1461,7 @@ static const void *net_netlink_ns(struct sock *sk) return sock_net(sk); } struct kobj_ns_type_operations net_ns_type_operations = { const struct kobj_ns_type_operations net_ns_type_operations = { .type = KOBJ_NS_TYPE_NET, .current_may_mount = net_current_may_mount, .grab_current_ns = net_grab_current_ns, Loading Loading
include/linux/netdevice.h +1 −1 Original line number Diff line number Diff line Loading @@ -4028,7 +4028,7 @@ static inline void netdev_class_remove_file(const struct class_attribute *class_ netdev_class_remove_file_ns(class_attr, NULL); } extern struct kobj_ns_type_operations net_ns_type_operations; extern const struct kobj_ns_type_operations net_ns_type_operations; const char *netdev_drivername(const struct net_device *dev); Loading
net/core/net-sysfs.c +1 −1 Original line number Diff line number Diff line Loading @@ -1461,7 +1461,7 @@ static const void *net_netlink_ns(struct sock *sk) return sock_net(sk); } struct kobj_ns_type_operations net_ns_type_operations = { const struct kobj_ns_type_operations net_ns_type_operations = { .type = KOBJ_NS_TYPE_NET, .current_may_mount = net_current_may_mount, .grab_current_ns = net_grab_current_ns, Loading