OSDN Git Service

mpls: Add MPLS entropy label in flow_keys
authorTom Herbert <tom@herbertland.com>
Thu, 4 Jun 2015 16:16:46 +0000 (09:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 22:44:31 +0000 (15:44 -0700)
commitb3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13
treee19a85590547279215e55378b5d34f76b4e07d7a
parent1fdd512c92003cf2d671ba22753d13302bf8cd1d
mpls: Add MPLS entropy label in flow_keys

In flow dissector if an MPLS header contains an entropy label this is
saved in the new keyid field of flow_keys. The entropy label is
then represented in the flow hash function input.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c