[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2011 15:47:30 +0200 (CEST)
From: Reinhard Max <max@...e.de>
To: David Miller <davem@...emloft.net>
Cc: meissner@...e.de, netdev@...r.kernel.org
Subject: Re: Bad behaviour when unintentionally mixing ipv4 and ipv6
addresses
On Wed, 1 Jun 2011 at 21:03, David Miller wrote:
> Since we haven't been validating the sin_family field for 18+ years,
> the chance to break some applications is very real.
>
> But I think it's more important to fix this (and force any broken
> apps to set sin_family correctly). So I will apply this, thanks.
I think a corresponding check should also go into inet6_bind() in
net/ipv6/af_inet6.c .
cu
Reinhard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists