sctp: remove the local_bh_disable/enable in sctp_endpoint_lookup_assoc
authorXin Long <lucien.xin@gmail.com>
Wed, 30 Dec 2015 15:50:50 +0000 (23:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 17:24:02 +0000 (12:24 -0500)
commitc79c0666915418f9c0f01a6d0e93179416fb0c9e
tree457dc1b37d533fb20d9ea757fbce413c8d5a4f79
parentb5eff7128366c4a7a9b502097a968ec9cae2bea2
sctp: remove the local_bh_disable/enable in sctp_endpoint_lookup_assoc

sctp_endpoint_lookup_assoc is called in the protection of sock lock
there is no need to call local_bh_disable in this function. so remove
them.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/endpointola.c