[dpdk-dev] [PATCH v2 2/4] kni: fix header_ops to build with 4.1

2015-07-10 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Miguel Bernal Marin > Sent: Friday, June 26, 2015 3:15 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/4] kni: fix header_ops to build with 4.1 > > rebuild member was remove

[dpdk-dev] [PATCH v2 2/4] kni: fix header_ops to build with 4.1

2015-06-26 Thread Miguel Bernal Marin
rebuild member was removed from headers_ops in kernel release 4.1. Therefore kni module compilation breaks. This patch add the properly checks to fix it. Fixes: d476059e77d1 ("net: Kill dev_rebuild_header") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/kni_net.c | 4