HomeFreeBSD

ng_socket: Treat EEXIST from kern_kldload() as success

Description

ng_socket: Treat EEXIST from kern_kldload() as success

EEXIST is possible in a race condition.

Inspired by: ffc72591b1f5 (Don't worry if a module is already loaded ...)
Reviewed by: glebius
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D44633

(cherry picked from commit f6f67f58c19db4f25f5c2cf4869efc7054493a55)

Details

Provenance
zleiAuthored on Apr 9 2024, 10:04 AM
Reviewer
glebius
Differential Revision
D44633: ng_socket: Treat EEXIST from kern_kldload() as success in case there is a race condition
Parents
rG936c6d5c9618: mountd.8: Document the new -A mountd option
Branches
Unknown
Tags
Unknown