HomeFreeBSD

linuxkpi: Define EBADSLT to 57

Description

linuxkpi: Define EBADSLT to 57

This is the same error code as Linux.

As emaste@ noted in the review, FreeBSD defines the following errno
values in sys/errno.h:

  • 56 is EISCONN
  • 57 is ENOTCONN

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D37935

Details

Provenance
dumbbellAuthored on Jan 2 2023, 10:48 PM
Reviewer
manu
Differential Revision
D37935: linuxkpi: Define EBADSLT to 57
Parents
rGcf8f392260bf: linuxkpi: Add `memalloc_noreclaim_save()` and `memalloc_noreclaim_restore()`
Branches
Unknown
Tags
Unknown