diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-06-18 17:00:47 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-18 17:02:16 -0700 |
commit | 28b8a5cc3ac538333756084da28d7f13f13b5c87 (patch) | |
tree | 7ca51ff6a77f7700acdb35763ab14fc048619870 /runsc | |
parent | 878050b5cf924b1f314965e5bfe21248a55616c4 (diff) |
iptables: remove metadata struct
Metadata was useful for debugging and safety, but enough tests exist that we
should see failures when (de)serialization is broken. It made stack
initialization more cumbersome and it's also getting in the way of ip6tables.
PiperOrigin-RevId: 317210653
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/boot/loader.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index c6efcdc83..081db39c1 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -1071,8 +1071,6 @@ func newEmptySandboxNetworkStack(clock tcpip.Clock, uniqueID stack.UniqueID) (in return nil, fmt.Errorf("SetTransportProtocolOption failed: %s", err) } - s.FillIPTablesMetadata() - return &s, nil } |