net: cls_u32: fix error code for invalid flags
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 6 Jun 2016 15:16:47 +0000 (16:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2016 23:27:14 +0000 (16:27 -0700)
commit1a0f7d2984f3864e64a43714b4a0999b5a27cff5
tree0f7acc82153b28cbc827d6c72c1be184dc2b76a1
parent7b01b8e847d00cf9cf0c2c3aa8fdfc4126dca024
net: cls_u32: fix error code for invalid flags

'err' variable is not set in this test, we would return whatever
previous test set 'err' to.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_u32.c