]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 13 Mar 2016 10:48:24 +0000 (11:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2016 23:20:50 +0000 (19:20 -0400)
commit873a7112bcaafad56eacb3d88009d112b3f31705
tree16d25b7c61cfbe75c973d18bdfe32851fa88a383
parent518dfd06fa77d560e6f223ab3605b6b7db8b3f53
sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant

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 <hofrat@osadl.org>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c