sentry: save inet stacks in proc files.

PiperOrigin-RevId: 204362791
Change-Id: If85ea7442741e299f0d7cddbc3d6b415e285da81
This commit is contained in:
Zhaozhong Ni
2018-07-12 14:19:04 -07:00
committed by Shentubot
parent 45c50eb124
commit bb41ad808a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (p *proc) newNetDir(ctx context.Context, msrc *fs.MountSource) *fs.Inode {
// ifinet6 implements seqfile.SeqSource for /proc/net/if_inet6.
type ifinet6 struct {
s inet.Stack `state:"nosave"` // S/R-FIXME
s inet.Stack
}
func (n *ifinet6) contents() []string {
+1 -1
View File
@@ -102,7 +102,7 @@ func (m *tcpMem) DeprecatedPwritev(ctx context.Context, src usermem.IOSequence,
type tcpSack struct {
ramfs.Entry
s inet.Stack `state:"nosave"` // S/R-FIXME
s inet.Stack
}
func newTCPSackInode(ctx context.Context, msrc *fs.MountSource, s inet.Stack) *fs.Inode {