]> git.baikalelectronics.ru Git - kernel.git/commit
af_unix: remove redundant lockdep class
authorCong Wang <xiyou.wangcong@gmail.com>
Mon, 2 Apr 2018 18:01:27 +0000 (11:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2018 15:13:40 +0000 (11:13 -0400)
commitdb7ba23c7d9cf991ad29e23aac5818ffab4576f6
tree9d59bf7a0f5607bcc1d7172663ef69c46823e53f
parent2e71100824d9dd1349cf9f1c6a11227c070f90ad
af_unix: remove redundant lockdep class

After commit c5a3756c21eb ("net/socket: use per af lockdep classes for sk queues")
sock queue locks now have per-af lockdep classes, including unix socket.
It is no longer necessary to workaround it.

I noticed this while looking at a syzbot deadlock report, this patch
itself doesn't fix it (this is why I don't add Reported-by).

Fixes: c5a3756c21eb ("net/socket: use per af lockdep classes for sk queues")
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c