mac802154: rx: move rcu locking
authorAlexander Aring <alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:39 +0000 (17:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:45 +0000 (18:07 +0100)
commite176b681b00d2b60e9231072d3ca841f9ddc74ea
treeede73bf25281f0689606ef2ceb35dfd74976e5e4
parent9cf215d0733256687796ef1161b7b358be1b0602
mac802154: rx: move rcu locking

Instead of twice lock and unlock mechanism this patch hold these locks
only once at one position.

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