On Fri, May 27, 2011 at 6:04 AM, <rsc@golang.org> wrote: >> > Seems like the ...
13 years, 8 months ago
(2011-05-26 22:20:21 UTC)
#7
On Fri, May 27, 2011 at 6:04 AM, <rsc@golang.org> wrote:
>> > Seems like the standard code below will do this anyway
>
>> That's the way of the world...
>
> I don't understand. I am saying "delete this statement".
Looks like I am confused.
You are saying that even if the kernel makes some strange padding
like RawSockaddr{Len: 0, Family 0}, the standard code can skip this
because go runtime or complier provides well-aligned memory access,
right?
On Fri, May 27, 2011 at 7:53 AM, Russ Cox <rsc@golang.org> wrote: > I thought ...
13 years, 8 months ago
(2011-05-27 00:58:05 UTC)
#11
On Fri, May 27, 2011 at 7:53 AM, Russ Cox <rsc@golang.org> wrote:
> I thought the code said
>
> if salen == 0 {
> return salen
> }
Ah, my bad. It's a bit hard to find out a slightly difference btw
salen and salign.
<http://www.mrc-cbu.cam.ac.uk/people/matt.davis/Cmabrigde/>
If someone gives me a nice and appropriate name generator,
I will treat a pint of ale, of course with fish and chips.
-- Mikio
Issue 4539084: code review 4539084: syscall: add routing messages support for BSD variants
(Closed)
Created 13 years, 8 months ago by mikio
Modified 13 years, 8 months ago
Reviewers:
Base URL:
Comments: 17