lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061212.171121.21596915.davem@davemloft.net>
Date:	Tue, 12 Dec 2006 17:11:21 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	brian.haley@...com
Cc:	rdenis@...phalempin.com, akpm@...l.org, netdev@...r.kernel.org
Subject: Re: [Bugme-new] [Bug 7665] New: getsockopt(IPV6_*CAST_HOPS)
 returns -1

From: Brian Haley <brian.haley@...com>
Date: Tue, 12 Dec 2006 16:16:27 -0500

> The following patch seems to work for me, but this code has behaved this 
> way for a while, so don't know if it will break any existing apps.
> 
> Signed-off-by: Brian Haley <brian.haley@...com>

I like this patch so I have applied it, thanks Brian.  I'll
push it to -stable too.

I wonder, since the most accurate return value is tied to the route,
what is expected of this getsockopt() before a socket's identity
(and therefore route) is known?

I suppose returning the default value, which Brian's patch does,
is a reasonable best-effort.
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ