Re: [dpdk-dev] [PATCH v3] net/bonding: fix socket id check

2021-04-27 Thread Ferruh Yigit
On 4/27/2021 11:54 AM, Min Hu (Connor) wrote: > From: Chengchang Tang > > 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 I

[dpdk-dev] [PATCH v3] net/bonding: fix socket id check

2021-04-27 Thread Min Hu (Connor)
From: Chengchang Tang 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