HomeFreeBSD

tftpd: Don't consume arbitrary requests when failing to fork.

Description

tftpd: Don't consume arbitrary requests when failing to fork.

We've already consumed one request, which is sufficient to prevent inetd from endlessly restarting us in this particular and extremely unlikely case.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D38967

Details

Provenance
desAuthored on Mar 10 2023, 1:24 PM
Reviewer
markj
Differential Revision
D38967: tftpd: Don't consume arbitrary requests when failing to fork.
Parents
rGe3b4cb1b32c0: tftpd: Use poll() instead of alarm() + setjmp().
Branches
Unknown
Tags
Unknown