diff options
author | Thomas Graf <tgraf@redhat.com> | 2012-12-06 09:25:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-07 19:15:04 (GMT) |
commit | 0b0fe913bf6d551642eb8892ed90be7358906379 (patch) | |
tree | cd119f956cd2b9428a16836020a80772b877f18b /drivers/ata/ahci_platform.c | |
parent | 36f0ffa59175883bf2b01b38a60384314368aae9 (diff) | |
download | linux-fsl-qoriq-0b0fe913bf6d551642eb8892ed90be7358906379.tar.xz |
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 'drivers/ata/ahci_platform.c')
0 files changed, 0 insertions, 0 deletions