flow_dissector: Fix MPLS entropy label handling in flow dissector
authorTom Herbert <tom@herbertland.com>
Fri, 12 Jun 2015 16:01:05 +0000 (09:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jun 2015 21:24:27 +0000 (14:24 -0700)
commit611d23c559a328ca3f84ac120c02d5a9f88c08f5
tree6684696e8c52478d94125ddffbfcb360fbafb09b
parentb60f2f3d65de3f3e9e63855e5f5070a3fedcccba
flow_dissector: Fix MPLS entropy label handling in flow dissector

Need to shift after masking to get label value for comparison.

Fixes: b3baa0fbd02a1a9d493d8 ("mpls: Add MPLS entropy label in flow_keys")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c