diff options
author | 2017-11-14 06:20:16 +0000 | |
---|---|---|
committer | 2017-11-14 22:02:08 +0900 | |
commit | 8a860c2bcc84a8e4fbcabb928cd97e4c51b17d93 (patch) | |
tree | 992ff276cd5f1a68d7e3b8a61dd8de4cd831feed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | liquidio: Missing error code in liquidio_init_nic_module() (diff) | |
download | linux-dev-8a860c2bcc84a8e4fbcabb928cd97e4c51b17d93.tar.xz linux-dev-8a860c2bcc84a8e4fbcabb928cd97e4c51b17d93.zip |
openvswitch: Fix return value check in ovs_meter_cmd_features()
In case of error, the function ovs_meter_cmd_reply_start() returns
ERR_PTR() not NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions