Re: [PATCH RESEND] ipconfig : Fix null reference to the freed dev_addr

2016-06-26 Thread David Miller
From: Chanho Min Date: Wed, 22 Jun 2016 19:08:13 +0900 > To fix this, I suggested patch that checks if device is available > before the DHCP packet is sended. The bug is more fundamental than this. The code is not taking a reference to the netdevice, and that's the only reason it is able to dis

[PATCH RESEND] ipconfig : Fix null reference to the freed dev_addr

2016-06-22 Thread Chanho Min
The USB to ethernet can be detached and free netdev after rtnl mutex is released. It can cause null reference during the dynamic IP configuration. sequence is: ic_open_devs rtnl_lock(); wait for a carrier hub_event()