net: Extend struct flowi6 with multipath hash
authorJakub Sitnicki <jkbs@redhat.com>
Wed, 23 Aug 2017 07:58:28 +0000 (09:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2017 01:21:17 +0000 (18:21 -0700)
commit29825717123fb9cfb9e709327d565c2f2fa89903
treea572db681bb1f973ec05420022d3561f4fcec2a1
parent790c6056686cc4dd5b149b330bbd5ae208d4d721
net: Extend struct flowi6 with multipath hash

Allow for functions that fill out the IPv6 flow info to also pass a hash
computed over the skb contents. The hash value will drive the multipath
routing decisions.

This is intended for special treatment of ICMPv6 errors, where we would
like to make a routing decision based on the flow identifying the
offending IPv6 datagram that triggered the error, rather than the flow
of the ICMP error itself.

Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h