Pablo de Lara 45e63ba8db kni: fix vhost build with kernels 3.19 and 4.0
Due to commit c0371da6 in kernel 3.19, which removed msg_iov
and msg_iovlen from struct msghdr, DPDK would not build.
Also, functions memcpy_toiovecend and memcpy_fromiovecend
were removed in commits ba7438ae and 57dd8a07, being substituted by
copy_from_iter and copy_to_iter.

This patch makes use of struct iov_iter, which has references
to msg_iov and msg_iovln, and makes use of copy_from_iter
and copy_to_iter.

Reported-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2015-05-11 11:03:03 +02:00
2015-04-13 21:48:27 +02:00
2015-04-29 18:34:58 +02:00
2015-04-20 14:37:22 +02:00
2015-04-03 16:13:45 +02:00
2015-04-13 22:50:09 +02:00
2015-03-23 14:29:31 +01:00
2013-03-07 10:57:42 +01:00
2013-07-25 14:43:06 +02:00
2015-04-13 22:50:09 +02:00
2014-06-11 00:29:34 +02:00
Description
No description provided
128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%