net: sched: cls_flower: fix ndo_setup_tc type for stats call
authorJiri Pirko <jiri@mellanox.com>
Wed, 16 Aug 2017 15:15:18 +0000 (17:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 21:29:41 +0000 (14:29 -0700)
commitd978db8dbebb60a51492da966689dfc0c9216c44
treee2a1a993a72d64a5520cfaa91604e56e3ce1b666
parent0bbd7dad34f81e5e724cb08252160a1796c388b2
net: sched: cls_flower: fix ndo_setup_tc type for stats call

I made a stupid mistake using TC_CLSFLOWER_STATS instead of
TC_SETUP_CLSFLOWER. Funny thing is that both are defined as "2" so it
actually did not cause any harm. Anyway, fixing it now.

Fixes: 2572ac53c46f ("net: sched: make type an argument for ndo_setup_tc")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c