From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Thu, 10 Dec 2009 13:21:54 -0500 Subject: [U-Boot] [PATCH]Fix checksum to handle odd-length packet In-Reply-To: References: <20091203113105.EA2AEE6D391@gemini.denx.de> <4B1F02DA.9090908@gmail.com> <4B2062BA.50208@gmail.com> Message-ID: <4B213C42.3090506@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Greg Ren wrote: > Jerry Van Baren wrote: > >> When you respin your patch, please put the "ping with an odd length >> causes an incorrect checksum bug" in the commit message for future >> reference. > >> Thanks, >> gvb > > The change was to the general checksum calculation. So there is enough > reason to believe that any odd-length packet may suffer the same fate. > Ping is just an easier way to test and verify the fix. > > regards > Greg Ren Understood. My point was your original commit message did not identify *how* to exercise the bug (i.e. ping with an odd length packet). That is very valuable information because it helps us remember what was broken and how to test both the brokenness and the fix. Thanks, gvb