tcp: ipv4: Pass lockdep expression to RCU lists
authorAmol Grover <frextrite@gmail.com>
Fri, 21 Feb 2020 17:57:14 +0000 (23:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 21:07:03 +0000 (13:07 -0800)
commitc8b91770f54a1e832e086b3768fe115583128519
tree1a37c93359196c6b990b748c1d622cd70300ece3
parent0a087bf232c35dbec3769c4402ca737995d7b734
tcp: ipv4: Pass lockdep expression to RCU lists

md5sig->head maybe traversed using hlist_for_each_entry_rcu
outside an RCU read-side critical section but under the protection
of socket lock.

Hence, add corresponding lockdep expression to silence false-positive
warnings, and harden RCU lists.

Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c