Re: [PATCH net-next] hsr: remove hsr interface if all slaves are removed

2020-04-30 Thread David Miller
From: Taehee Yoo Date: Thu, 30 Apr 2020 17:37:02 + > When all hsr slave interfaces are removed, hsr interface doesn't work. > At that moment, it's fine to remove an unused hsr interface automatically > for saving resources. > That's a common behavior of virtual interfaces. > > Signed-off-by:

[PATCH net-next] hsr: remove hsr interface if all slaves are removed

2020-04-30 Thread Taehee Yoo
When all hsr slave interfaces are removed, hsr interface doesn't work. At that moment, it's fine to remove an unused hsr interface automatically for saving resources. That's a common behavior of virtual interfaces. Signed-off-by: Taehee Yoo --- net/hsr/hsr_main.c | 22 -- 1 f