From: Yuanhan Liu <yliu@fridaylinux.org>
To: Beilei Xing <beilei.xing@intel.com>
Cc: John McNamara <john.mcnamara@intel.com>,
Jingjing Wu <jingjing.wu@intel.com>,
Helin Zhang <helin.zhang@intel.com>,
dpdk stable <stable@dpdk.org>
Subject: [dpdk-stable] patch 'net/i40e: check multi-driver option parsing' has been queued to LTS release 17.11.1
Date: Sun, 11 Feb 2018 12:02:50 +0800 [thread overview]
Message-ID: <1518321771-23153-4-git-send-email-yliu@fridaylinux.org> (raw)
In-Reply-To: <1518321771-23153-1-git-send-email-yliu@fridaylinux.org>
Hi,
FYI, your patch has been queued to LTS release 17.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/13/18. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From c771a07722fbe6f3b8cdce73cf87fd1c86cf81ed Mon Sep 17 00:00:00 2001
From: Beilei Xing <beilei.xing@intel.com>
Date: Thu, 8 Feb 2018 21:18:12 +0800
Subject: [PATCH] net/i40e: check multi-driver option parsing
[ upstream commit 7469a495aec98082bcd4219cf7a25c6c3867c11a ]
This patch fixes the coverity CHECKED_RETURN issue.
Coverity issue: 261779
Fixes: cfdfca493cae ("net/i40e: fix multiple driver support")
Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index b6ee8d1..290ef24 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -1148,8 +1148,12 @@ i40e_support_multi_driver(struct rte_eth_dev *dev)
"the first invalid or last valid one is used !",
ETH_I40E_SUPPORT_MULTI_DRIVER);
- rte_kvargs_process(kvlist, ETH_I40E_SUPPORT_MULTI_DRIVER,
- i40e_parse_multi_drv_handler, pf);
+ if (rte_kvargs_process(kvlist, ETH_I40E_SUPPORT_MULTI_DRIVER,
+ i40e_parse_multi_drv_handler, pf) < 0) {
+ rte_kvargs_free(kvlist);
+ return -EINVAL;
+ }
+
rte_kvargs_free(kvlist);
return 0;
}
--
2.7.4
next prev parent reply other threads:[~2018-02-11 4:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-11 4:02 [dpdk-stable] patch 'net/tap: fix cleanup on allocation failure' " Yuanhan Liu
2018-02-11 4:02 ` [dpdk-stable] patch 'net/bnxt: fix Rx checksum flags' " Yuanhan Liu
2018-02-11 4:02 ` [dpdk-stable] patch 'net/bnxt: fix return code in MAC address set' " Yuanhan Liu
2018-02-11 4:02 ` Yuanhan Liu [this message]
2018-02-11 4:02 ` [dpdk-stable] patch 'app/testpmd: fix flow director filter' " Yuanhan Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1518321771-23153-4-git-send-email-yliu@fridaylinux.org \
--to=yliu@fridaylinux.org \
--cc=beilei.xing@intel.com \
--cc=helin.zhang@intel.com \
--cc=jingjing.wu@intel.com \
--cc=john.mcnamara@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).