Re: [dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-05-06 Thread Ferruh Yigit
On 5/5/2020 9:09 AM, Ferruh Yigit wrote: > On 5/1/2020 5:19 PM, Stephen Hemminger wrote: >> On Fri, 1 May 2020 17:01:40 +0100 >> Ferruh Yigit wrote: >> >>> On 4/27/2020 10:39 PM, Stephen Hemminger wrote: The TAP driver does not initialize all the elements of the rte_flow structure. This

Re: [dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-05-05 Thread Ferruh Yigit
On 5/1/2020 5:19 PM, Stephen Hemminger wrote: > On Fri, 1 May 2020 17:01:40 +0100 > Ferruh Yigit wrote: > >> On 4/27/2020 10:39 PM, Stephen Hemminger wrote: >>> The TAP driver does not initialize all the elements of the rte_flow >>> structure. This can lead to crash in rte_flow_destroy. >>> >>> (

Re: [dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-05-01 Thread Stephen Hemminger
On Fri, 1 May 2020 17:01:40 +0100 Ferruh Yigit wrote: > On 4/27/2020 10:39 PM, Stephen Hemminger wrote: > > The TAP driver does not initialize all the elements of the rte_flow > > structure. This can lead to crash in rte_flow_destroy. > > > > (gdb) where > > flow=0x100e99280, error=0x0) > >

Re: [dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-05-01 Thread Ferruh Yigit
On 4/27/2020 10:39 PM, Stephen Hemminger wrote: > The TAP driver does not initialize all the elements of the rte_flow > structure. This can lead to crash in rte_flow_destroy. > > (gdb) where > flow=0x100e99280, error=0x0) > at drivers/net/tap/tap_flow.c:1514 > > (gdb) p remote_flow > $1 =

Re: [dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-04-28 Thread David Marchand
On Mon, Apr 27, 2020 at 11:39 PM Stephen Hemminger wrote: > > The TAP driver does not initialize all the elements of the rte_flow > structure. This can lead to crash in rte_flow_destroy. > > (gdb) where > flow=0x100e99280, error=0x0) > at drivers/net/tap/tap_flow.c:1514 > > (gdb) p remote_

[dpdk-dev] [PATCH] net/tap: fix crash from unitialized memory in rte_flow_destroy

2020-04-27 Thread Stephen Hemminger
The TAP driver does not initialize all the elements of the rte_flow structure. This can lead to crash in rte_flow_destroy. (gdb) where flow=0x100e99280, error=0x0) at drivers/net/tap/tap_flow.c:1514 (gdb) p remote_flow $1 = (struct rte_flow *) 0x6b6b6b6b6b6b6b6b Which is here: static int