OSDN Git Service

net: sched: cls_flower: set correct offload data in fl_reoffload
authorVlad Buslov <vladbu@mellanox.com>
Mon, 6 Aug 2018 08:27:10 +0000 (11:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 19:35:17 +0000 (12:35 -0700)
commit9ca6163005e6abdf2a39eb581abc6060f677a2d7
tree8932fbb952c92a5fe07867bef0b01374ac5e2254
parentd5082b27edf4cc653529c38ac531cf7a7d261a6f
net: sched: cls_flower: set correct offload data in fl_reoffload

fl_reoffload implementation sets following members of struct
tc_cls_flower_offload incorrectly:
 - masked key instead of mask
 - key instead of masked key

Fix fl_reoffload to provide correct data to offload callback.

Fixes: 31533cba4327 ("net: sched: cls_flower: implement offload tcf_proto_op")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c