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
fbarray: fix overlap check
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_fbarray.c
diff --git
a/lib/librte_eal/common/eal_common_fbarray.c
b/lib/librte_eal/common/eal_common_fbarray.c
index
1220e2b
..
d974f3d
100644
(file)
--- a/
lib/librte_eal/common/eal_common_fbarray.c
+++ b/
lib/librte_eal/common/eal_common_fbarray.c
@@
-110,7
+110,7
@@
overlap(const struct mem_area *ma, const void *start, size_t len)
if (start >= ma_start && start < ma_end)
return 1;
/* end overlap? */
- if (end >
=
ma_start && end < ma_end)
+ if (end > ma_start && end < ma_end)
return 1;
return 0;
}