Re: [ovs-dev] [PATCH] dpif-netdev: Use portable error code for zero rate meter band

2017-09-29 Thread Andy Zhou
On Thu, Sep 28, 2017 at 7:31 PM, Joe Stringer wrote: > On 28 September 2017 at 12:39, Andy Zhou wrote: >> 'EBADRQC' is only defined on the Linux platform. Without this fix, >> The travis MacOS build fails. Switching to using EDOM which is more >> portable. >> >>

Re: [ovs-dev] [PATCH] dpif-netdev: Use portable error code for zero rate meter band

2017-09-28 Thread Joe Stringer
On 28 September 2017 at 12:39, Andy Zhou wrote: > 'EBADRQC' is only defined on the Linux platform. Without this fix, > The travis MacOS build fails. Switching to using EDOM which is more > portable. > > Fixes: 2029ce9ac3a601 (dpif-netdev: Fix a zero-rate bug for meter) > CC: Ali

[ovs-dev] [PATCH] dpif-netdev: Use portable error code for zero rate meter band

2017-09-28 Thread Andy Zhou
'EBADRQC' is only defined on the Linux platform. Without this fix, The travis MacOS build fails. Switching to using EDOM which is more portable. Fixes: 2029ce9ac3a601 (dpif-netdev: Fix a zero-rate bug for meter) CC: Ali Volkan ATLI Signed-off-by: Andy Zhou