Re: [PATCH] sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant

2016-03-15 Thread Marcelo Ricardo Leitner
On Sun, Mar 13, 2016 at 11:48:24AM +0100, Nicholas Mc Guire wrote: > local_bh_disable() + spin_lock() is equivalent to spin_lock_bh(), same for > the unlock/enable case, so replace the calls by the appropriate wrappers. > > Signed-off-by: Nicholas Mc Guire Acked-by: Marcelo

[PATCH] sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant

2016-03-13 Thread Nicholas Mc Guire
local_bh_disable() + spin_lock() is equivalent to spin_lock_bh(), same for the unlock/enable case, so replace the calls by the appropriate wrappers. Signed-off-by: Nicholas Mc Guire --- net-next 3c8e43ba "sctp: remove macros sctp_spin_[un]lock" and net-next 79b91130 "sctp: