On 4/27/2021 12:39 PM, Min Hu (Connor) wrote: > From: Chengchang Tang <tangchengch...@huawei.com> > > The socket ID entered by user is cast to an unsigned integer. However, > the value may be an illegal negative value, which may cause some > problems. In this case, an error should be returned. > > In addition, the socket ID may be an invalid positive number, which is > also processed in this patch. > > Fixes: 2efb58cbab6e ("bond: new link bonding library") > Cc: sta...@dpdk.org > > Signed-off-by: Chengchang Tang <tangchengch...@huawei.com> > Signed-off-by: Min Hu (Connor) <humi...@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com> Applied to dpdk-next-net/main, thanks.