Home » Mailing lists » Users » Running DHCP on VPS, ( on a router.. )
Re: Running DHCP on VPS, ( on a router.. ) [message #20986 is a reply to message #20971] |
Sat, 29 September 2007 10:20 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
Can you please revert previous patch and apply the one I attached?
Does it help?
Thanks,
Kirill
Dariush Pietrzak wrote:
>>if possible plz check with the patch attached.
>
> with this patch in, my dhcp server started working...
> what should I do next?
>
--- ./drivers/net/veth.c.ve45678 2007-09-29 14:07:21.000000000 +0400
+++ ./drivers/net/veth.c 2007-09-29 14:18:31.000000000 +0400
@@ -306,17 +306,14 @@ static int veth_xmit(struct sk_buff *skb
/* from VE0 to VEX */
if (ve_is_super(rcv->owner_env))
goto out;
- if (is_multicast_ether_addr(
- ((struct ethhdr *)skb->data)->h_dest))
+ if (is_multicast_ether_addr(eth_hdr(skb)->h_dest))
goto out;
- if (compare_ether_addr(((struct ethhdr *)skb->data)->h_dest,
- rcv->dev_addr))
+ if (compare_ether_addr(eth_hdr(skb)->h_dest, rcv->dev_addr))
goto outf;
} else if (!ve_is_super(dev->owner_env) &&
!entry->allow_mac_change) {
/* from VE to VE0 */
- if (compare_ether_addr(((struct ethhdr *)skb->data)->h_source,
- dev->dev_addr))
+ if (compare_ether_addr(eth_hdr(skb)->h_source, dev->dev_addr))
goto outf;
}
|
|
|
|
|
Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 11:27
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: gblond on Fri, 28 September 2007 12:44
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:07
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:08
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sat, 29 September 2007 10:20
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sun, 30 September 2007 07:30
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sun, 30 September 2007 12:24
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Mon, 01 October 2007 10:00
|
|
|
Re: Running DHCP on VPS, ( on a router.. ) [ Summary/Solved ]
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 12:49
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:39
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:50
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Mon, 01 October 2007 08:08
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 19 October 2007 11:18
|
Goto Forum:
Current Time: Sat Oct 19 14:36:13 GMT 2024
Total time taken to generate the page: 0.04830 seconds
|