Re: [dpdk-dev] [PATCH] mem: improve parameter checking on memory hotplug

2021-01-18 Thread Burakov, Anatoly
On 18-Jan-21 8:26 AM, David Marchand wrote: On Fri, Jan 15, 2021 at 1:15 PM Anatoly Burakov wrote: Currently, we don't check anything that comes in through memory hotplug subsystem using the IPC, because we always assume the data is correct. This is okay as anyone having access to the IPC sock

Re: [dpdk-dev] [PATCH] mem: improve parameter checking on memory hotplug

2021-01-18 Thread David Marchand
On Fri, Jan 15, 2021 at 1:15 PM Anatoly Burakov wrote: > > Currently, we don't check anything that comes in through memory hotplug > subsystem using the IPC, because we always assume the data is correct. > This is okay as anyone having access to the IPC socket would also have > rights to crash the

[dpdk-dev] [PATCH] mem: improve parameter checking on memory hotplug

2021-01-15 Thread Anatoly Burakov
Currently, we don't check anything that comes in through memory hotplug subsystem using the IPC, because we always assume the data is correct. This is okay as anyone having access to the IPC socket would also have rights to crash the DPDK process through other means, but it's still a good practice