ieee802154: netlink add rtnl lock
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:57 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:29 +0000 (19:50 +0100)
commit7bea1ea7b4c16af7c9263648e10f7edc88e5fc21
tree8092b084c39e45226260d031c9e4d477abbeed0a
parentb03c9cccfa808f1b314097b162a36c3937cb818e
ieee802154: netlink add rtnl lock

This patch adds rtnl lock hold mechanism while accessing wpan_dev
attributes. Furthermore these attributes should be protected by rtnl
lock and netif_running only.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl-mac.c
net/mac802154/mac_cmd.c