]> 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)
commita30a18e59168d92c8718d0dae4abcb73e75cf4c7
tree9d59bf7a0f5607bcc1d7172663ef69c46823e53f
parented5d185730318f18ba9377246032b2c33bea52ca
af_unix: remove redundant lockdep class

After commit ff2a5c228ab0 ("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: ff2a5c228ab0 ("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