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)
commit56ac42bc94b18d45b6c484edeac33be86bfb3efa
treed14e433bcc0b3fef9349a86cbb6d8d87dedfb232
parent1f440c99d3207d684a3ac48d6e528af548b5c915
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