]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1346a6759380d464a67ad0f45236c6c5c685156d
tree314c0c784493090ebf512710f086433d9fd36e2b
parent33612878c57b40ce9820205c101ed404b9911d1b
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