]> err.no Git - linux-2.6/commit
SCTP: Update RCU handling during the ADD-IP case
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 24 Oct 2007 20:10:00 +0000 (16:10 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 7 Nov 2007 16:39:27 +0000 (11:39 -0500)
commit0ed90fb0f668fd07f14ae2007a809e8b26cd27a6
tree114e48301b89a8e82f7238d8b691880607842947
parentb6157d8e03e1e780660a328f7183bcbfa4a93a19
SCTP: Update RCU handling during the ADD-IP case

After learning more about rcu, it looks like the ADD-IP hadling
doesn't need to call call_rcu_bh.  All the rcu critical sections
use rcu_read_lock, so using call_rcu_bh is wrong here.
Now, restore the local_bh_disable() code blocks and use normal
call_rcu() calls.  Also restore the missing return statement.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/structs.h
net/sctp/bind_addr.c
net/sctp/sm_make_chunk.c
net/sctp/socket.c