net/sched: cls_flower: Use mask for addr_type
authorPaul Blakey <paulb@mellanox.com>
Wed, 14 Dec 2016 17:00:57 +0000 (19:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 15:44:35 +0000 (10:44 -0500)
commit970bfcd09791282de7de6589bfe440eb11e2efd2
treeb9b35fbe6ef3f5659d32ec62303653a05f16ebd9
parent83a77e9ec4150ee4acc635638f7dedd9da523a26
net/sched: cls_flower: Use mask for addr_type

When addr_type is set, mask should also be set.

Fixes: 66530bdf85eb ('sched,cls_flower: set key address type when present')
Fixes: bc3103f1ed40 ('net/sched: cls_flower: Classify packet in ip tunnels')
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c