ebbb8c6b9c
(1)Release Version Upgrade (2)Matching code changes with el7 to el8 Change-Id: Ieb451bbfd498d93c3c2f3995b8785807c099499b Story: 2006729 Task: 37683 Depends-On: https://review.opendev.org/#/c/696481/ Depends-On: https://review.opendev.org/#/c/696050/ Signed-off-by: Long Li <lilong-neu@neusoft.com>
30 lines
806 B
Diff
30 lines
806 B
Diff
From 858e259bf7125695c068301d0ef56cc4750d6544 Mon Sep 17 00:00:00 2001
|
|
From: Don Penney <don.penney@windriver.com>
|
|
Date: Thu, 15 Sep 2016 13:32:03 -0400
|
|
Subject: [PATCH 1/1] Close tftp sockets immediately
|
|
|
|
Signed-off-by: Long Li <lilong-neu@neusoft.com>
|
|
---
|
|
src/tftp.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/tftp.c b/src/tftp.c
|
|
index d7d050f..ecc6ce8 100644
|
|
--- a/src/tftp.c
|
|
+++ b/src/tftp.c
|
|
@@ -807,9 +807,11 @@ int do_tftp_script_run(void)
|
|
if ((transfer = daemon->tftp_done_trans))
|
|
{
|
|
daemon->tftp_done_trans = transfer->next;
|
|
+#if 0 /* Disable delayed closing of TFTP UDP socket */
|
|
#ifdef HAVE_SCRIPT
|
|
queue_tftp(transfer->file->size, transfer->file->filename, &transfer->peer);
|
|
#endif
|
|
+#endif
|
|
free_transfer(transfer);
|
|
return 1;
|
|
}
|
|
--
|
|
2.7.4
|
|
|