Re: [dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for pf_ethdev

2018-05-01 Thread Doherty, Declan
On 01/05/2018 10:47 AM, Ananyev, Konstantin wrote: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty Sent: Monday, April 30, 2018 4:33 PM To: dev@dpdk.org Cc: Doherty, Declan Subject: [dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for

Re: [dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for pf_ethdev

2018-05-01 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Monday, April 30, 2018 4:33 PM > To: dev@dpdk.org > Cc: Doherty, Declan > Subject: [dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for > pf_ethdev > &g

[dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for pf_ethdev

2018-04-30 Thread Declan Doherty
Add NULL parameter check for rte_eth_dev_allocated() API call to eth_ixgbe_pci_probe(). Coverity Issue: 277216 Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff -