public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27668] New: setsockopt IP_TTL on an AF_INET6 socket but should fail
@ 2021-03-30 15:02 bjacke at samba dot org
  2021-04-06 13:54 ` [Bug libc/27668] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: bjacke at samba dot org @ 2021-03-30 15:02 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27668

            Bug ID: 27668
           Summary: setsockopt IP_TTL on an AF_INET6 socket but should
                    fail
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: bjacke at samba dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

setsockopt setting IP_TTL on an AF_INET6 socket succeeds but it should fail
because it's supported on AF_INET sockets only.

Also the ip(7) man page doesn't mention that IP_TTL is only supported for
AF_INET. It would be nice if that could also be bentioned there with a pointer
to IPV6_UNICAST_HOPS for AF_INET6

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/27668] setsockopt IP_TTL on an AF_INET6 socket but should fail
  2021-03-30 15:02 [Bug libc/27668] New: setsockopt IP_TTL on an AF_INET6 socket but should fail bjacke at samba dot org
@ 2021-04-06 13:54 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-06 13:54 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27668

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
setsockopt just forwards the call to the kernel, please report there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-06 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 15:02 [Bug libc/27668] New: setsockopt IP_TTL on an AF_INET6 socket but should fail bjacke at samba dot org
2021-04-06 13:54 ` [Bug libc/27668] " schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).