summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/raw
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-12 08:44:47 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-12 08:44:47 +0000
commit5bd8f886db24151734e03497661e5521d1dfcc48 (patch)
treedb4948a593ba768c6b14796aa715ffd84473d0a2 /pkg/tcpip/transport/raw
parent7e3845c246594cf53f846a6b3adf0b601368dd52 (diff)
parent3416a3db77bf80cc1100b7d206fe0b68d424d7c9 (diff)
Merge release-20210726.0-57-g3416a3db7 (automated)
Diffstat (limited to 'pkg/tcpip/transport/raw')
-rw-r--r--pkg/tcpip/transport/raw/raw_state_autogen.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/raw/raw_state_autogen.go b/pkg/tcpip/transport/raw/raw_state_autogen.go
index aaeed9775..0d65444d2 100644
--- a/pkg/tcpip/transport/raw/raw_state_autogen.go
+++ b/pkg/tcpip/transport/raw/raw_state_autogen.go
@@ -25,9 +25,11 @@ func (p *rawPacket) beforeSave() {}
// +checklocksignore
func (p *rawPacket) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
- var dataValue buffer.VectorisedView = p.saveData()
+ var dataValue buffer.VectorisedView
+ dataValue = p.saveData()
stateSinkObject.SaveValue(1, dataValue)
- var receivedAtValue int64 = p.saveReceivedAt()
+ var receivedAtValue int64
+ receivedAtValue = p.saveReceivedAt()
stateSinkObject.SaveValue(2, receivedAtValue)
stateSinkObject.Save(0, &p.rawPacketEntry)
stateSinkObject.Save(3, &p.senderAddr)