Skip to content
Commit 95964c6d authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: use proper lockdep annotation in __sk_dst_set()



__sk_dst_set() must be called while we own the socket.

We can get proper lockdep coverage using lockdep_sock_is_held()
and rcu_dereference_protected()

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 337e6392
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