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

Issue 7352045: code review 7352045: net: return correct point-to-point interface address on... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by mikio
Modified:
11 years, 2 months ago
Reviewers:
gpaul
CC:
golang-dev, dfc, rsc
Visibility:
Public.

Description

net: return correct point-to-point interface address on linux On Linux point-to-point interface an IFA_ADDRESS attribute represents a peer address. For a correct interface address we should take an IFA_LOCAL attribute instead. Fixes issue 4839.

Patch Set 1 #

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

Patch Set 3 : diff -r bfaaa2075564 https://code.google.com/p/go #

Patch Set 4 : diff -r 9c3930413c1b https://code.google.com/p/go #

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

Messages

Total messages: 8
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2013-02-18 14:51:23 UTC) #1
dfc
Is there a way I can test this manually?
11 years, 2 months ago (2013-02-19 01:54:12 UTC) #2
mikio
On Tue, Feb 19, 2013 at 10:54 AM, <dave@cheney.net> wrote: > Is there a way ...
11 years, 2 months ago (2013-02-19 03:13:48 UTC) #3
rsc
LGTM
11 years, 2 months ago (2013-02-19 16:00:47 UTC) #4
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=53a4da6a4f4a *** net: return correct point-to-point interface address on linux On Linux ...
11 years, 2 months ago (2013-02-19 22:31:54 UTC) #5
gpaul
This CL seems to have slowed iface.Addrs() down quite a bit: From 9c3930413c1b To 53a4da6a4f4a ...
11 years, 2 months ago (2013-02-21 07:46:09 UTC) #6
dfc
Bugger. Could you please propose a CL with your benchmark, and maybe open an issue ...
11 years, 2 months ago (2013-02-21 08:57:09 UTC) #7
mikio
11 years, 2 months ago (2013-02-21 10:37:13 UTC) #8
On Thu, Feb 21, 2013 at 4:46 PM,  <gustav.paul@gmail.com> wrote:

> This CL seems to have slowed iface.Addrs() down quite a bit:

yup, sorry for my laziness and thanks for your alert.
somehow i thought i already did memoize, will fix soon.
Sign in to reply to this message.

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