commit | f6b19eb758223863dcf447201ce15ba161072373 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 15 15:03:26 2016 -0500 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 22 14:20:58 2016 -0500 |
tree | f67bd8043e37ba9e2c3cf2e4a60be989093bc077 | |
parent | 739776a65b6240408f528cd0d2041dfdcf854280 [diff] |
net: nfs: Use the tx buffer to construct rpc msgs 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>