]> git.sur5r.net Git - u-boot/commitdiff
net: nfs: Use the tx buffer to construct rpc msgs
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 20:03:26 +0000 (15:03 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:20:58 +0000 (14:20 -0500)
Instead of always allocating a huge temporary buffer on the stack and
then memcpy()ing the result into the transmit buffer, simply figure out
where in the transmit buffer the bytes will belong and write them there
directly as each message is built.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

No differences found