diff options
author | Cong Wang <amwang@redhat.com> | 2013-01-22 22:09:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-28 06:15:27 +0100 |
commit | cec771d646d6c9a6f123b50e132ab142342dcb97 (patch) | |
tree | d0591d47af01fb210a16635ff316e77161c5ec3a /Documentation/accounting | |
parent | net/mlx4_en: Initialize RFS filters lock and list in init_netdev (diff) | |
download | linux-cec771d646d6c9a6f123b50e132ab142342dcb97.tar.xz linux-cec771d646d6c9a6f123b50e132ab142342dcb97.zip |
decnet: use correct RCU API to deref sk_dst_cache field
sock->sk_dst_cache is protected by RCU, therefore we should
use __sk_dst_get() to deref it once we lock the sock.
This fixes several sparse warnings.
Cc: linux-decnet-user@lists.sourceforge.net
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions