]> 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)
commit2227f65555589f1260401d6e519761924e63678e
treee17cee80d85dc1aefdc7d8710a1210e3cb6a66f7
parent7d2cb05192fd9da4a76b0d5fe8e93809c77ccaa6
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