net/sched: cls_flower: Properly handle classifier flags dumping
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 16 Feb 2017 08:31:10 +0000 (10:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 17:08:04 +0000 (12:08 -0500)
commit749e6720d2ee10d5221d5d7b8cee8ac5d1cd690e
tree314c0c784493090ebf512710f086433d9fd36e2b
parentad8e963ca6838071dd2f3db2df66b247b99f4295
net/sched: cls_flower: Properly handle classifier flags dumping

Dump the classifier flags only if non zero and make sure to check
the return status of the handler that puts them into the netlink msg.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c