Commit 0e36cbb3 authored by Cong Wang's avatar Cong Wang Committed by David S. Miller
Browse files

net: add RCU annotation to sk_dst_cache field

sock->sk_dst_cache is protected by RCU.

Reported-by: default avatarFengguang Wu <>
Cc: Eric Dumazet <>
Cc: David S. Miller <>
Signed-off-by: default avatarCong Wang <>
Signed-off-by: default avatarDavid S. Miller <>
parent cec771d6
......@@ -340,7 +340,7 @@ struct sock {
unsigned long sk_flags;
struct dst_entry *sk_rx_dst;
struct dst_entry *sk_dst_cache;
struct dst_entry __rcu *sk_dst_cache;
spinlock_t sk_dst_lock;
atomic_t sk_wmem_alloc;
atomic_t sk_omem_alloc;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment