Hello!
> This is a known bug introduced by the struct sock splitup into
> external per-protocol pieces done by Arnaldo de Melo. He is working
> on the proper fix, your proposed change will just paper over the real
> bug.
I am afraid you speak about different bug.
Old code really relied on the fact that each IPv4 code has zeroed IPv6
part, and that each IPv6 socket has correctly intialized IPv4 part.
So, Carl's suggestion may be right. Each time when accesing IPv6 data
we have to check that it really exists (when we are not sure).
Alexey
|