From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Wed, 16 Dec 2015 09:05:43 +0100 Subject: [U-Boot] [PATCH 2/5] net: gem: Fix return value from recv In-Reply-To: References: <6e7a29b9075e356511e564cabcfc6da5d3b9cc14.1449834212.git.michal.simek@xilinx.com> Message-ID: <56711B57.5000400@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Joe, On 15.12.2015 20:51, Joe Hershberger wrote: > Hi Michal, > > On Tue, Dec 15, 2015 at 11:47 AM, Joe Hershberger > wrote: >> On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: >>> recv function should return 0 instead of frame_len not to >>> proceed the same packet again in core. >>> >>> Signed-off-by: Michal Simek >> >> Acked-by: Joe Hershberger > > Oops. NAK. Didn't realize this was the top-level recv function being > passed to the eth layer. I expect that origin ACK was valid and you realized like for other driver that here should be return 0 because separation with free_pkt is done in 3/5. Thanks, Michal