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