HomeFreeBSD

MFC r294125:

Description

MFC r294125:

Test for EPROTOTYPE not EPROTONOSUPPORT

  • SOCK_RAW is the implied supported type parameter for socket(2) per route(4)
  • localsw in sys/kern/uipc_usrreq.c doesn't have an entry for SOCK_RAW, so the prototype is invalid (this isn't explicitly documented anywhere I could find)

Details

Provenance
ngieAuthored on
Parents
rS294640: MFC r293858
Branches
Unknown
Tags
Unknown