Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] [patch] 2.6.9-rc4 - dvd-net.c [dvb-kernel cvs head]
This patch introduced in 2.6.9-rc4 makes dvb-net doesn't compile anymore.
<acme@conectiva.com.br>
[SKBUFF] use eth_hdr(skb), skb->mac.raw cases
This trivial patch corrects it:
diff -Nru dvb-kernel.old/linux/drivers/media/dvb/dvb-core/dvb_net.c dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_net.c
--- dvb-kernel.old/linux/drivers/media/dvb/dvb-core/dvb_net.c 2004-10-06 02:13:28.000000000 +0200
+++ dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_net.c 2004-10-11 15:54:32.000000000 +0200
@@ -140,7 +140,7 @@
skb->mac.raw=skb->data;
skb_pull(skb,dev->hard_header_len);
- eth= skb->mac.ethernet;
+ eth=eth_hdr(skb);
if (*eth->h_dest & 1) {
if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0)
--
Home |
Main Index |
Thread Index