]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Allow request socks to contain IPv6 options.
authorHuw Davies <huw@codeweavers.com>
Mon, 27 Jun 2016 19:05:28 +0000 (15:05 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 27 Jun 2016 19:05:28 +0000 (15:05 -0400)
commitf86654a7c06c69102746538353d3764ec5c9136e
treed14e433bcc0b3fef9349a86cbb6d8d87dedfb232
parent7e11898846d968bbe02db1204440f5b344cf3c69
ipv6: Allow request socks to contain IPv6 options.

If set, these will take precedence over the parent's options during
both sending and child creation.  If they're not set, the parent's
options (if any) will be used.

This is to allow the security_inet_conn_request() hook to modify the
IPv6 options in just the same way that it already may do for IPv4.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/net/inet_sock.h
net/dccp/ipv6.c
net/ipv4/tcp_input.c
net/ipv6/tcp_ipv6.c