aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_sockglue.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2016-04-05 17:10:14 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-07 16:44:14 -0400
commit61881cfb5ad80c1d0a46ca6d08b7e271892b2ff6 (patch)
tree122cdc70b2d17ec6027143c442bfe0a26ce2b61f /net/ipv4/ip_sockglue.c
parenttcp/dccp: fix inet_reuseport_add_sock() (diff)
downloadlinux-dev-61881cfb5ad80c1d0a46ca6d08b7e271892b2ff6.tar.xz
linux-dev-61881cfb5ad80c1d0a46ca6d08b7e271892b2ff6.zip
sock: fix lockdep annotation in release_sock
During release_sock we use callbacks to finish the processing of outstanding skbs on the socket. We actually are still locked, sk_locked.owned == 1, but we already told lockdep that the mutex is released. This could lead to false positives in lockdep for lockdep_sock_is_held (we don't hold the slock spinlock during processing the outstanding skbs). I took over this patch from Eric Dumazet and tested it. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions