Go to file
Thomas Monjalon 8885118f82 eal: fix access to huge page with high address
The returned value of lseek is a virtual address
which can be different from the offset.
Indeed, if the return address has a 64-bit canonical form,
the 16 higher bits are all 1 if bit 47 is 1.

So the check was wrong. It is better to test against an error value.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
2013-07-25 16:07:50 +02:00
app pmac: integration without lib 2013-07-25 16:07:50 +02:00
config app: remove chkincs 2013-07-25 15:48:45 +02:00
examples examples/vmdq_dcb: update 2013-07-25 15:58:01 +02:00
lib eal: fix access to huge page with high address 2013-07-25 16:07:50 +02:00
mk pmac: integration without lib 2013-07-25 16:07:50 +02:00
scripts doc: remove remaining references 2013-07-25 14:42:16 +02:00
tools pci: make it possible to keep devices bound to uio 2013-07-25 15:23:28 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
Makefile remove version in all files 2013-07-05 11:59:50 +02:00