Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-26

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

From: David Miller <davem@davemloft.net>
Date: 2016-06-26 19:44:55
Also in: lkml

From: Chanho Min <chanho.min@lge.com>
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 disappear like this.

It is illegal to reference a netdevice after dropping the rtnl
mutex unless you take a proper reference to it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help