panic excl->shared for an AF_LOCAL socket

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Sun, 19 Aug 2018 23:31:41 +0000
Hi,

PR#230752 shows a witness panic() for "excl->shared" on a vnode lock.
In this case, the kernel RPC code is trying to do a soconnect() on an AF_LOCAL
socket. The code is unp_connectat() looks like is does a straightforward
namei()/lookup(), so I am surprised to see this.

Does anyone know if AF_LOCAL (unix domain) sockets are somehow handled
differently for namei()/lookup() which might cause this?

I've requested more info from the reporter w.r.t. when this happens.
(I'd guess when the nfsuserd is terminating or has terminated or ???)

Thanks for any help with this, rick
Received on Sun Aug 19 2018 - 21:31:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC