]> 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)
commit3949037f92405f7ab1d0de09b0b93d304652e383
tree528e6a21f55f100ced489ff7bc7eb0606af677e9
parent3d16f52f8bcf15e0326d8ed776f263d55102fcff
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