commit | f7ea80524883f1b2ff9ed0b1c0b836fcd0a436dd | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Wed May 23 07:59:09 2012 +0000 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed May 23 17:46:19 2012 -0500 |
tree | 1d2bf41e3a7f6512f2231d65335f95845885a380 | |
parent | 16be9cba17e952f15a2676ca69896084925dc6db [diff] |
net: Refactor packet length computations Save the length when it is computed instead of forgetting it and subtracting pointers to figure it out again. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>