Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4561)

Issue 57700043: code review 57700043: net: handle IP interface stack correctly on linux (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by mikio
Modified:
10 years, 2 months ago
Reviewers:
gobot, iant
CC:
iant, golang-codereviews
Visibility:
Public.

Description

net: handle IP interface stack correctly on linux A configuration like the following: 7: tun6rd: <NOARP,UP,LOWER_UP> mtu 1280 link/sit 10.11.12.13 brd 0.0.0.0 inet 1.2.3.4/24 scope global tun6rd inet6 2014:1001:a0b:c0d::1/32 scope global inet6 ::10.11.12.13/128 scope global 9: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 link/ppp inet 192.168.101.234 peer 192.168.102.234/32 scope global ppp0 inet 10.20.30.40/24 scope global ppp0 inet6 2014:1002::1/64 scope global 11: tun0@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 link/ipip 192.168.202.34 peer 192.168.202.69 inet 192.168.10.1/24 scope global tunnel0 inet6 2014:1003::1/64 scope global will be handled like below. "tun6rd": flags "up", ifindex 7, mtu 1280 hardware address "" interface address "1.2.3.4/24" interface address "2014:1001:a0b:c0d::1/32" interface address "::a0b:c0d/128" "ppp0": flags "up|pointtopoint|multicast", ifindex 9, mtu 1496 hardware address "" interface address "192.168.101.234/32" interface address "10.20.30.40/24" interface address "2014:1002::1/64" "tun0": flags "up|pointtopoint", ifindex 11, mtu 1480 hardware address "" interface address "192.168.10.1/24" interface address "2014:1003::1/64" Fixes issue 6433. Update issue 4839

Patch Set 1 : diff -r 5cfa01069440 https://code.google.com/p/go #

Total comments: 2

Patch Set 2 : diff -r 6ece3f3bfc0a https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -10 lines) Patch
M src/pkg/net/interface_linux.go View 1 2 chunks +48 lines, -10 lines 0 comments Download

Messages

Total messages: 4
mikio
Hello iant@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 2 months ago (2014-02-14 08:18:21 UTC) #1
iant
LGTM https://codereview.appspot.com/57700043/diff/90001/src/pkg/net/interface_linux.go File src/pkg/net/interface_linux.go (right): https://codereview.appspot.com/57700043/diff/90001/src/pkg/net/interface_linux.go#newcode180 src/pkg/net/interface_linux.go:180: if ifi.Flags&ifi.Flags&FlagPointToPoint != 0 { s/ifi.Flags&ifi.Flags/ifi.Flags/
10 years, 2 months ago (2014-02-14 15:53:03 UTC) #2
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=8a9da0007914 *** net: handle IP interface stack correctly on linux A configuration ...
10 years, 2 months ago (2014-02-14 16:08:09 UTC) #3
gobot
10 years, 2 months ago (2014-02-14 16:22:47 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the windows-amd64 builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b