From owner-cvs-src-old@FreeBSD.ORG Fri Jun 24 02:56:45 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C4F7106564A for ; Fri, 24 Jun 2011 02:56:45 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1918FC0C for ; Fri, 24 Jun 2011 02:56:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5O2ujjW013303 for ; Fri, 24 Jun 2011 02:56:45 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5O2ujVY013302 for cvs-src-old@freebsd.org; Fri, 24 Jun 2011 02:56:45 GMT (envelope-from rodrigc@repoman.freebsd.org) Message-Id: <201106240256.p5O2ujVY013302@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rodrigc@repoman.freebsd.org using -f From: Craig Rodrigues Date: Fri, 24 Jun 2011 02:56:24 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/tftpd tftp-file.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 02:56:45 -0000 rodrigc 2011-06-24 02:56:24 UTC FreeBSD src repository Modified files: libexec/tftpd tftp-file.c Log: SVN rev 223487 on 2011-06-24 02:56:24Z by rodrigc Bring back synchnet() implementation from older tftp implementation. The synchnet() function was converted to a no-op when the new TFTP implementation was committed to FreeBSD. However, this function, as it was in the older code, is needed in order to synchronize between the tftpd server and tftp clients, which may be buggy. Specifically, we had a buggy TFTP client which would send TFTP ACK packets for non-TFTP packets, which would cause the count of packets to get out of whack, causing transfers to fail with the new TFTPD implementation. Obtained from: Juniper Networks Submitted by: Santhanakrishnan Balraj Revision Changes Path 1.3 +30 -3 src/libexec/tftpd/tftp-file.c