[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150710.232548.357031018488272501.davem@davemloft.net>
Date: Fri, 10 Jul 2015 23:25:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: phil@....cc
Cc: netdev@...r.kernel.org, edumazet@...gle.com
Subject: Re: [PATCH v2] net: inet_diag: always export IPV6_V6ONLY sockopt
for listening sockets
From: Phil Sutter <phil@....cc>
Date: Fri, 10 Jul 2015 11:39:57 +0200
> Reconsidering my commit 20462155 "net: inet_diag: export IPV6_V6ONLY
> sockopt", I am not happy with the limitations it causes for socket
> analysing code in userspace. Exporting the value only if it is set makes
> it hard for userspace to decide whether the option is not set or the
> kernel does not support exporting the option at all.
>
> From an auditor's perspective, the interesting question for listening
> AF_INET6 sockets is: "Does it NOT have IPV6_V6ONLY set?" Because it is
> the unexpected case. This patch allows to answer this question reliably.
>
> Signed-off-by: Phil Sutter <phil@....cc>
> Cc: Eric Dumazet <edumazet@...gle.com>
Applied, thanks.
--
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