sctp: per_cpu variables should be in bh_disabled section
commiteddb4b2aebd5e13049c9fa20f38ff8485a6341aa
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 28 Apr 2010 08:47:20 +0000 (28 08:47 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:58 +0000 (12 15:02 -0700)
tree349063ad6074aee47780ead4cff0f2c3f9105bbf
parentc9d7c3032e4d5850c4e019c186336466aa429626
sctp: per_cpu variables should be in bh_disabled section

[ Upstream commit 81419d862db743fe4450a021893f24bab4698c1d ]

Since the change of the atomics to percpu variables, we now
have to disable BH in process context when touching percpu variables.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sctp/socket.c