Re: [PATCH net] hsr: avoid to create proc file after unregister

2020-06-22 Thread David Miller
From: Taehee Yoo Date: Sun, 21 Jun 2020 13:46:25 + > When an interface is being deleted, "/proc/net/dev_snmp6/" > is deleted. > The function for this is addrconf_ifdown() in the addrconf_notify() and > it is called by notification, which is NETDEV_UNREGISTER. > But, if NETDEV_CHANGEMTU is tri

[PATCH net] hsr: avoid to create proc file after unregister

2020-06-21 Thread Taehee Yoo
When an interface is being deleted, "/proc/net/dev_snmp6/" is deleted. The function for this is addrconf_ifdown() in the addrconf_notify() and it is called by notification, which is NETDEV_UNREGISTER. But, if NETDEV_CHANGEMTU is triggered after NETDEV_UNREGISTER, this proc file will be created agai