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

Issue 12332043: code review 12332043: syscall: fix IPv6 wrong network mask on latest FreeBSD (Closed)

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

Description

syscall: fix IPv6 wrong network mask on latest FreeBSD Looks like latest FreeBSD doesn't set address family identifer for RTAX_NETMASK stuff; probably RTAX_GENMASK too, not confirmed. This CL tries to identify address families by using the length of each socket address if possible. The issue is confirmed on FreeBSD 9.1.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M src/pkg/net/interface_test.go View 1 1 chunk +12 lines, -1 line 0 comments Download
M src/pkg/syscall/route_bsd.go View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 4
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, 7 months ago (2013-08-02 08:28:17 UTC) #1
mikio
ping
11 years, 7 months ago (2013-08-06 06:35:47 UTC) #2
bradfitz
LGTM On Mon, Aug 5, 2013 at 11:35 PM, <mikioh.mikioh@gmail.com> wrote: > ping > > ...
11 years, 7 months ago (2013-08-06 15:00:59 UTC) #3
mikio
11 years, 7 months ago (2013-08-06 15:25:30 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=3cde0ba2c729 ***

syscall: fix IPv6 wrong network mask on latest FreeBSD

Looks like latest FreeBSD doesn't set address family identifer
for RTAX_NETMASK stuff; probably RTAX_GENMASK too, not confirmed.
This CL tries to identify address families by using the length of
each socket address if possible.

The issue is confirmed on FreeBSD 9.1.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/12332043
Sign in to reply to this message.

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