[ovs-dev] [PATCH net-next] openvswitch: Fix return value check in ovs_meter_cmd_features()

David Miller davem at davemloft.net
Tue Nov 14 13:02:31 UTC 2017


From: Wei Yongjun <weiyongjun1 at huawei.com>
Date: Tue, 14 Nov 2017 06:20:16 +0000

> 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 at huawei.com>

Applied.


More information about the dev mailing list