Go to file
Olivier Matz d24839b318 kvargs: be strict when matching a key
When we match a key in is_valid_key() and rte_kvargs_process(), do a
strict comparison (strcmp()) instead of using strstr(s1, s2) which tries
a find s1 in s2. This old behavior could lead to unexpected match, for
instance "cola" match "chocolate".

Surprisingly, no patch was needed on rte_kvargs_count() as it already
used strcmp().

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2014-02-26 11:01:14 +01:00
app eal: fix type of pointer arithmetic result 2014-02-26 11:01:13 +01:00
config kvargs: add a new library to parse key/value arguments 2014-02-26 11:01:13 +01:00
doc mk: allow to specify DESTDIR in build rule 2014-02-26 11:01:13 +01:00
examples examples/netmap_compat: import netmap compatibility example 2014-02-26 10:47:59 +01:00
lib kvargs: be strict when matching a key 2014-02-26 11:01:14 +01:00
mk kvargs: add a new library to parse key/value arguments 2014-02-26 11:01:13 +01:00
scripts update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
tools update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile add FreeBSD support 2014-02-25 21:29:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile add FreeBSD support 2014-02-25 21:29:18 +01:00