]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc314cb24afb0fca8b3310df73b81fbaf68943c9d
tree01e1624bc38ba93dcc365c4c09e6235fb95c7c9b
parent391c665de47e593102df42748c5257699dbf863c
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