summaryrefslogtreecommitdiff
path: root/net/cdp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2016-08-15 15:03:26 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-22 14:20:58 -0500
commit998372b4798fd7ebb666f571950df925b8d80f69 (patch)
treef67bd8043e37ba9e2c3cf2e4a60be989093bc077 /net/cdp.c
parentd89ff2df33991b971b1388bc623d616e12b5e5fb (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>
Diffstat (limited to 'net/cdp.c')
0 files changed, 0 insertions, 0 deletions