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

Issue 21260043: code review 21260043: go.net/ipv4: make sure whether the interface under test... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by mikio
Modified:
11 years, 4 months ago
Reviewers:
dave
CC:
dave_cheney.net, golang-dev
Visibility:
Public.

Description

go.net/ipv4: make sure whether the interface under test is routed Some multicast tests depend on proper IP routing because multicasting requires an unicast source address for its delivery. We call a network interface that can route IP traffic to neighbors a routed interface conventionally. This CL makes sure that the interface under test is a routed interface to avoid using non-routed network interfaces for IP routing. Also removes unnecessary build tag. Fixes issue 6709.

Patch Set 1 : diff -r 67397a11592e https://code.google.com/p/go.net #

Total comments: 1

Patch Set 2 : diff -r 67397a11592e https://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -24 lines) Patch
M ipv4/mocktransponder_test.go View 4 chunks +35 lines, -24 lines 0 comments Download

Messages

Total messages: 8
mikio
Hello dave@cheney.net (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.net
11 years, 4 months ago (2013-11-03 07:30:37 UTC) #1
dave_cheney.net
LGTM with minor comments. Please add a short description saying why a routed interface is ...
11 years, 4 months ago (2013-11-03 07:46:49 UTC) #2
mikio
On Sun, Nov 3, 2013 at 4:46 PM, <dave@cheney.net> wrote: > ipv4/mocktransponder_test.go:87: for _, ifi ...
11 years, 4 months ago (2013-11-03 08:28:05 UTC) #3
dave_cheney.net
does `a useable` interface mean `the first` ? On Sun, Nov 3, 2013 at 7:28 ...
11 years, 4 months ago (2013-11-03 08:33:46 UTC) #4
mikio
On Sun, Nov 3, 2013 at 5:33 PM, Dave Cheney <dave@cheney.net> wrote: > does `a ...
11 years, 4 months ago (2013-11-03 08:59:58 UTC) #5
dave_cheney.net
Lets drop this, it's not important. On Sun, Nov 3, 2013 at 7:59 PM, Mikio ...
11 years, 4 months ago (2013-11-03 09:05:10 UTC) #6
mikio
On Sun, Nov 3, 2013 at 6:05 PM, Dave Cheney <dave@cheney.net> wrote: > Lets drop ...
11 years, 4 months ago (2013-11-03 09:08:39 UTC) #7
mikio
11 years, 4 months ago (2013-11-03 11:39:44 UTC) #8
*** Submitted as
https://code.google.com/p/go/source/detail?r=b42777b97fe7&repo=net ***

go.net/ipv4: make sure whether the interface under test is routed

Some multicast tests depend on proper IP routing because multicasting
requires an unicast source address for its delivery. We call a network
interface that can route IP traffic to neighbors a routed interface
conventionally. This CL makes sure that the interface under test is a
routed interface to avoid using non-routed network interfaces for IP
routing.

Also removes unnecessary build tag.

Fixes issue 6709.

R=dave
CC=golang-dev
https://codereview.appspot.com/21260043
Sign in to reply to this message.

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