diff options
author | Thomas Graf <tgraf@redhat.com> | 2012-12-06 09:25:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-07 14:15:04 -0500 |
commit | 0b0fe913bf6d551642eb8892ed90be7358906379 (patch) | |
tree | cd119f956cd2b9428a16836020a80772b877f18b /include/net/sctp/structs.h | |
parent | 36f0ffa59175883bf2b01b38a60384314368aae9 (diff) |
sctp: proc: protect bind_addr->address_list accesses with rcu_read_lock()
address_list is protected via the socket lock or RCU. Since we don't want
to take the socket lock for each assoc we dump in procfs a RCU read-side
critical section must be entered.
V2: Skip local addresses marked as dead
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Vlad Yasevich <vyasevic@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/structs.h')
0 files changed, 0 insertions, 0 deletions