net/sched: cls_flower: Use a proper mask value for enc key id parameter
authorHadar Hen Zion <hadarh@mellanox.com>
Tue, 27 Sep 2016 08:21:18 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2016 07:11:22 +0000 (03:11 -0400)
commiteb523f42d77a43f80bb9c57a34fbdc8406c7b075
treeb42d8aa444b6524153598fd79ac898e2c0e63c0a
parentdfdc771d03c13d0e170c27cd845bdab716e73576
net/sched: cls_flower: Use a proper mask value for enc key id parameter

The current code use the encapsulation key id value as the mask of that
parameter which is wrong. Fix that by using a full mask.

Fixes: bc3103f1ed40 ('net/sched: cls_flower: Classify packet in ip tunnels')
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Acked-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c