diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-12-14 01:03:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-14 13:14:07 -0500 |
commit | 1e9f954516ee03251e0ac2e98cad2e4be6ce9958 (patch) | |
tree | 883f6df1483f8d48dd1ad18f62a06e0d52099df1 /include/net/ndisc.h | |
parent | cfb6f99dd9629ec7759b78cff51d9bf7eedf105a (diff) | |
download | linux-1e9f954516ee03251e0ac2e98cad2e4be6ce9958.tar.gz linux-1e9f954516ee03251e0ac2e98cad2e4be6ce9958.tar.bz2 linux-1e9f954516ee03251e0ac2e98cad2e4be6ce9958.zip |
mac802154: fix destructon ordering for ieee802154 devices
mutex_destroy() must be called before wpan_phy_free(), because it puts the last
reference and frees memory. Catched as overwritten poison in kmalloc-2048.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-zigbee-devel@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ndisc.h')
0 files changed, 0 insertions, 0 deletions