Thread (20 messages) 20 messages, 4 authors, 2016-04-03

Re: [PATCH net-next 6/8] ipv6: process socket-level control messages in IPv6

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2016-03-31 03:38:02

On Wed, Mar 30, 2016 at 6:37 PM, Soheil Hassas Yeganeh
[off-list ref] wrote:
From: Soheil Hassas Yeganeh <redacted>

Process socket-level control messages by invoking
__sock_cmsg_send in ip6_datagram_send_ctl for control messages on
the SOL_SOCKET layer.

This makes sure whenever ip6_datagram_send_ctl is called for
udp and raw, we also process socket-level control messages.

This is a bit uglier than IPv4, since IPv6 does not have
something like ipcm_cookie. Perhaps we can later create
a control message cookie for IPv6?

Note that this commit interprets new control messages that
were ignored before. As such, this commit does not change
the behavior of IPv6 control messages.

Signed-off-by: Soheil Hassas Yeganeh <redacted>
Acked-by: Willem de Bruijn <willemb@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help