[dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue May 5 13:28:38 CEST 2015



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> Sent: Monday, May 04, 2015 10:46 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19
> 
> Due to commit c0371da6 in kernel 3.19, which removed msg_iov
> and msg_iovlen from struct msghdr, DPDK would not build.
> 
> This patch makes use of struct iov_iter, which has references
> to those two variables.
> 
> Reported-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Self-NACK. Kernel 4.0 has other changes that require other fixes, incompatible with this patch.
Will send a v2 compatible with both kernels 3.19 and 4.0


More information about the dev mailing list