summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9/transport_flipcall.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-14 20:25:38 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-14 20:25:38 +0000
commitd266dd12b9c9fa6c691a43fef3b63e37bd649dc6 (patch)
tree776dbad40268d523cb4ec094b758bd5521cd1dc6 /pkg/p9/transport_flipcall.go
parent6f7ed62b42f4a4fa07c97adb2cdd916a4616c959 (diff)
parent50c493193b72997a6b09f353fd9217349941c494 (diff)
Merge release-20200211.0-19-g50c4931 (automated)
Diffstat (limited to 'pkg/p9/transport_flipcall.go')
-rwxr-xr-xpkg/p9/transport_flipcall.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/p9/transport_flipcall.go b/pkg/p9/transport_flipcall.go
index 233f825e3..a0d274f3b 100755
--- a/pkg/p9/transport_flipcall.go
+++ b/pkg/p9/transport_flipcall.go
@@ -151,7 +151,7 @@ func (ch *channel) send(m message) (uint32, error) {
} else {
ch.buf.Write8(0) // No incoming FD.
}
- m.Encode(&ch.buf)
+ m.encode(&ch.buf)
ssz := uint32(len(ch.buf.data)) // Updated below.
// Is there a payload?
@@ -205,7 +205,7 @@ func (ch *channel) recv(r message, rsz uint32) (message, error) {
ch.buf.data = ch.buf.data[:fs]
}
- r.Decode(&ch.buf)
+ r.decode(&ch.buf)
if ch.buf.isOverrun() {
// Nothing valid was available.
log.Debugf("recv [got %d bytes, needed more]", rsz)