forked from mirrors/tftp-hpa-google
Duplicate WRQ packets can really hurt, since they end up accessing the same file. This attempts to lock the file, which should work for the case where a correctly implemented TFTP stack uses the same session ID (port number) for each retry; in any other case they look like multiple sessions to the same file and it is a crapshoot if we end up with the correct one. Signed-off-by: H. Peter Anvin <hpa@zytor.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| misc.c | ||
| recvfrom.c | ||
| recvfrom.h | ||
| remap.c | ||
| remap.h | ||
| sample.rules | ||
| tftpd.8.in | ||
| tftpd.c | ||
| tftpd.h | ||