sctp: use read_lock_bh in sctp_eps_seq_show
authorXin Long <lucien.xin@gmail.com>
Sat, 10 Jun 2017 07:13:32 +0000 (15:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:22:26 +0000 (16:22 -0400)
commitc0a4c2d1cde70d876da3f5a76a7284abf8d1800a
tree7a1fb47f62cc7b972a682d59298f1960a7785359
parent6dfe4b97e08ec3d1a593fdaca099f0ef0a3a19e6
sctp: use read_lock_bh in sctp_eps_seq_show

This patch is to use read_lock_bh instead of local_bh_disable
and read_lock in sctp_eps_seq_show.

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