HomeFreeBSD

divert: just return EOPNOTSUPP on shutdown(2)

Description

divert: just return EOPNOTSUPP on shutdown(2)

Before this change we would always return ENOTCONN. There is no
legitimate use of shutdown(2) on divert(4).

Details

Provenance
glebiusAuthored on Jan 12 2024, 10:04 AM
Parents
rG0598824cc84a: protosw: remove unneeded include
Branches
Unknown
Tags
Unknown