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

(cherry picked from commit e8ce32bea30d599b481735a1d1b0a87ac06c5a66)

Details

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