diff options
author | 2007-01-05 15:08:21 -0500 | |
---|---|---|
committer | 2007-01-09 00:30:00 -0800 | |
commit | 797951200679f1d5ea12a2e58cc7bdbc2848764c (patch) | |
tree | aaf0785e317ad5f4651324669bcafbd163d1833d /mm/truncate.c | |
parent | [Bluetooth] Correct SCO buffer for Broadcom based Dell laptops (diff) | |
download | linux-dev-797951200679f1d5ea12a2e58cc7bdbc2848764c.tar.xz linux-dev-797951200679f1d5ea12a2e58cc7bdbc2848764c.zip |
NetLabel: correct locking in selinux_netlbl_socket_setsid()
The spinlock protecting the update of the "sksec->nlbl_state" variable is not
currently softirq safe which can lead to problems. This patch fixes this by
changing the spin_{un}lock() functions into spin_{un}lock_bh() functions.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions