From: Thomas Graf Date: Thu, 6 Dec 2012 09:25:04 +0000 (+0000) Subject: sctp: proc: protect bind_addr->address_list accesses with rcu_read_lock() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0fe913bf6d551642eb8892ed90be7358906379;p=pandora-kernel.git 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 Cc: Neil Horman Signed-off-by: Thomas Graf Acked-by: Vlad Yasevich Acked-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed