From 5c4db2b594d1a3ac5481d1601b85a1a4707896ee Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Mon, 31 Aug 2015 20:51:44 +0200 Subject: [PATCH] do not reference eth_rebuild_header in newer kernels --- dvb-core/dvb_net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvb-core/dvb_net.c b/dvb-core/dvb_net.c index 9e8e757..9d5fe92 100644 --- a/dvb-core/dvb_net.c +++ b/dvb-core/dvb_net.c @@ -1227,7 +1227,9 @@ static int dvb_net_stop(struct net_device *dev) static const struct header_ops dvb_header_ops = { .create = eth_header, .parse = eth_header_parse, +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 2) .rebuild = eth_rebuild_header, +#endif };