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]
Date:	Wed, 12 Sep 2007 08:08:32 -0700 (PDT)
From:	David Miller <>
Subject: Re: SO_BINDTODEVICE mismatch with man page & comments.

From: Ben Greear <>
Date: Tue, 04 Sep 2007 15:45:14 -0700

> According to the comment in the net/core/sock.c code (in 2.6.20), I should be able to pass a zero
> optlen to the setsockopt method for SO_BINDTODEVICE:
> However, earlier in that method it returns -EINVAL if optlen is < sizeof(int).
> The man page has comments similar to that in the code above.

Yes, the comment definitely does not match the code and
should be fixed one way or the other.

I'll do some code history research to try and figure out
if this optlen==0 case ever worked properly.

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists