]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add source address argument for ipv6_push_nfrag_opts
authorDavid Lebrun <david.lebrun@uclouvain.be>
Tue, 8 Nov 2016 13:59:20 +0000 (14:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 01:40:06 +0000 (20:40 -0500)
commiteba6f466945e875ca7c918fbbb3a7c7413b348af
tree00da3ed4b15fc85fe761341cd79e14bb3556fa57
parent747e07c163c9143af59cd6222de86bdf487625d2
ipv6: add source address argument for ipv6_push_nfrag_opts

This patch prepares for insertion of SRH through setsockopt().
The new source address argument is used when an HMAC field is
present in the SRH, which must be filled. The HMAC signature
process requires the source address as input text.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/exthdrs.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c