sctp: remove rcu_read_lock in sctp_seq_dump_remote_addrs()
authorXin Long <lucien.xin@gmail.com>
Mon, 15 Feb 2016 06:28:04 +0000 (14:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:41:54 +0000 (15:41 -0500)
commitac1efde8022acf705c4b8393d5ee4b070594ba88
tree528e6a21f55f100ced489ff7bc7eb0606af677e9
parentf46c7011b062726b798fa3326b5b0c2711ead2a0
sctp: remove rcu_read_lock in sctp_seq_dump_remote_addrs()

sctp_seq_dump_remote_addrs is only called by sctp_assocs_seq_show()
and it has been protected by rcu_read_lock that is from
rhashtable_walk_start().

So we will remove this one.

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