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>
This commit is contained in:

committed by
David S. Miller

parent
9baee83406
commit
613fa3ca9e
@@ -1157,7 +1157,7 @@ route_lookup:
|
||||
|
||||
if (encap_limit >= 0) {
|
||||
init_tel_txopt(&opt, encap_limit);
|
||||
ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL);
|
||||
ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL, NULL);
|
||||
}
|
||||
|
||||
/* Calculate max headroom for all the headers and adjust
|
||||
|
Reference in New Issue
Block a user