]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: protect address changes via ioctl
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:59 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:29 +0000 (19:50 +0100)
commitb84ebe1fb8fd60a7f59dfa43108c42d0e5379a46
treee17cee80d85dc1aefdc7d8710a1210e3cb6a66f7
parent34a222494284a60715ec528daa29c12b59fdb6e6
mac802154: protect address changes via ioctl

This patch adds a netif_running check while trying to change the address
attributes via ioctl. While netif_running is true these attributes
should be only readable.

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