HomeFreeBSD

Don't grab SOCK_LOCK for soref() when queuing an AIO request.

Description

Don't grab SOCK_LOCK for soref() when queuing an AIO request.

The AIO job holds a reference on the associated file descriptor, so the
socket's count should already be > 0. This fixes a LOR with the socket
buffer lock after recent socket locking changes in HEAD.

Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS322911: Update the kernel to stable/11/sys.
Branches
Unknown
Tags
Unknown