flow_dissector: Use IPv6 flow label in flow_dissector
authorTom Herbert <therbert@google.com>
Wed, 2 Jul 2014 04:33:01 +0000 (21:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:14:21 +0000 (21:14 -0700)
commit19469a873bafd4e65daef3597db2bd724c1b03c9
treec413b1130aaf9e5c70a7d378508684f5c72e3320
parent535fb8d006bc6a96d59558181a9a6f267be382c5
flow_dissector: Use IPv6 flow label in flow_dissector

This patch implements the receive side to support RFC 6438 which is to
use the flow label as an ECMP hash. If an IPv6 flow label is set
in a packet we can use this as input for computing an L4-hash. There
should be no need to parse any transport headers in this case.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c