From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Sun, 2 Apr 2017 12:46:22 -0500 Subject: [U-Boot] [PATCH v5 01/19] net: smsc95xx: Correct free_pkt() implementation In-Reply-To: <20170401180556.2416-2-sjg@chromium.org> References: <20170401180556.2416-1-sjg@chromium.org> <20170401180556.2416-2-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Apr 1, 2017 at 1:05 PM, Simon Glass wrote: > On further review this returns the wrong packet length from the driver. > It may not be noticed since protocols will take care of it. Fix it by > subtracting the header length from the packet length returned. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger