Re: [dpdk-dev] [PATCH 4/4] net/netvsc: check for overflow on packet info from host

2020-10-27 Thread Ferruh Yigit
On 10/27/2020 5:10 PM, Luca Boccassi wrote: On Mon, 2020-08-10 at 19:33 -0700, lon...@linuxonhyperv.com wrote: From: Stephen Hemminger The data from the host is trusted but checked by the driver. One check that is missing is that the packet offset and length might cause wraparound. Cc: sta...

Re: [dpdk-dev] [PATCH 4/4] net/netvsc: check for overflow on packet info from host

2020-10-27 Thread Luca Boccassi
On Mon, 2020-08-10 at 19:33 -0700, lon...@linuxonhyperv.com wrote: > From: Stephen Hemminger > > The data from the host is trusted but checked by the driver. > One check that is missing is that the packet offset and length > might cause wraparound. > > Cc: sta...@dpdk.org > > Signed-off-by: Ste

Re: [dpdk-dev] [PATCH 4/4] net/netvsc: check for overflow on packet info from host

2020-08-11 Thread Stephen Hemminger
On Mon, 10 Aug 2020 19:33:14 -0700 lon...@linuxonhyperv.com wrote: > From: Stephen Hemminger > > The data from the host is trusted but checked by the driver. > One check that is missing is that the packet offset and length > might cause wraparound. > > Cc: sta...@dpdk.org > > Signed-off-by: St

[dpdk-dev] [PATCH 4/4] net/netvsc: check for overflow on packet info from host

2020-08-10 Thread longli
From: Stephen Hemminger The data from the host is trusted but checked by the driver. One check that is missing is that the packet offset and length might cause wraparound. Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger Signed-off-by: Long Li --- drivers/net/netvsc/hn_rxtx.c | 6 --