git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f42d2c
)
rpc: Allow xdr_buf_subsegment to operate in-place
author
J. Bruce Fields
<bfields@redhat.com>
Tue, 25 Feb 2014 22:21:08 +0000
(17:21 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Sat, 29 Mar 2014 01:24:49 +0000
(21:24 -0400)
Allow
xdr_buf_subsegment(&buf, &buf, base, len)
to modify an xdr_buf in-place.
Also, none of the callers need the iov_base of head or tail to be zeroed
out.
Also add documentation.
(As it turns out, I'm not really using this new guarantee, but it seems
a simple way to make this function a bit more robust.)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
No differences found