[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Thomas Monjalon
> > In rte_eth_af_packet.c we are we are missing NULL pointer > > checks after calls to alocate memory for queues. Add checking NULL > > pointer and error handling. > > > > Signed-off-by: Daniel Mrzyglod > > Acked-by: Neil Horman Applied Thanks -- Thomas

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Thomas Monjalon
2014-12-18 10:51, Daniel Mrzyglod: > In rte_eth_af_packet.c we are we are missing NULL pointer > checks after calls to alocate memory for queues. Add checking NULL > pointer and error handling. > > Signed-off-by: Daniel Mrzyglod You sent this patch twice: http://dpdk.org/ml/archives/dev/

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 09:45:05AM +, Daniel Mrzyglod wrote: > In rte_eth_af_packet.c we are we are missing NULL pointer > checks after calls to alocate memory for queues. Add checking NULL > pointer and error handling. > > Signed-off-by: Daniel Mrzyglod > --- > lib/librte_pmd_af_packet/rte_

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/lib

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/lib