git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/virtio: remove blank lines in log
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
dpaa2_mux.c
diff --git
a/drivers/net/dpaa2/dpaa2_mux.c
b/drivers/net/dpaa2/dpaa2_mux.c
index
811f417
..
d347f4d
100644
(file)
--- a/
drivers/net/dpaa2/dpaa2_mux.c
+++ b/
drivers/net/dpaa2/dpaa2_mux.c
@@
-68,6
+68,9
@@
rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id,
int ret;
static int i;
+ if (!pattern || !actions || !pattern[0] || !actions[0])
+ return NULL;
+
/* Find the DPDMUX from dpdmux_id in our list */
dpdmux_dev = get_dpdmux_from_id(dpdmux_id);
if (!dpdmux_dev) {