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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:16:33 +0000 (12:16 -0700)
commit81419d862db743fe4450a021893f24bab4698c1d
tree01e1624bc38ba93dcc365c4c09e6235fb95c7c9b
parent0c42749cffbb4a06be86c5e5db6c7ebad548781f
sctp: per_cpu variables should be in bh_disabled section

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>
net/sctp/socket.c