Thread (17 messages) flat view 17 messages, 4 authors, 2014-11-27

Re: [PATCH rfc 3/4] net-timestamp: tcp sockets return v6 errors on v6 sockets

From: Willem de Bruijn <willemb@google.com>
Date: 2014-11-25 19:53:56

On Tue, Nov 25, 2014 at 1:41 PM, David Miller [off-list ref] wrote:
From: Willem de Bruijn <willemb@google.com>
Date: Tue, 25 Nov 2014 12:58:05 -0500
quoted
From: Willem de Bruijn <willemb@google.com>

TCP timestamping introduced MSG_ERRQUEUE handling for TCP sockets.
It always passed errorqueue requests onto ip_recv_error, but the
same tcp_recvmsg code may also be called for IPv6 sockets. In that
case, pass to ipv6_recv_error.

Tested by asking for PKTINFO with

  Documentation/networking/timestamping/txtimestamp -I

Before this change, IPv6 sockets would return AF_INET/IP_PKTINFO
after the change, these sockets return AF_INET6/IPV6_PKTINFO

Signed-off-by: Willem de Bruijn <willemb@google.com>
This looks like a bug fix to me, and is therefore probably 'net'
material.
Okay. I'll submit it separately to net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help