commit | b8fa836e51feb92bf150ff00b90506002e1bc02a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Apr 05 16:23:28 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue May 09 20:17:24 2017 -0400 |
tree | fdac265d99d9b6b2b552b252039f7f9b17798978 | |
parent | 8904415e92f5b26bf3fddf313991e28f753bfbc5 [diff] |
net: smsc95xx: Correct free_pkt() implementation 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 <sjg@chromium.org>