HomeFreeBSD

soreceive_stream: correctly handle edge cases

Description

soreceive_stream: correctly handle edge cases

  • non NULL controlp is not an error, returning EINVAL would cause X forwarding to fail
  • MSG_PEEK and MSG_WAITALL are fairly exceptional, but we still want to handle them - punt to soreceive_generic

Details

Provenance
mmacyAuthored on
Parents
rS334959: Use the cached curthread reference in pmc_process_interrupt().
Branches
Unknown
Tags
Unknown