]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61f830c5b78e11cfd3caa8d54a1180f25986a5c8
tree528e6a21f55f100ced489ff7bc7eb0606af677e9
parent52041fea30a19ba60ad5cc37bea0b2ba2e00ba3c
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