On Thu, Mar 3, 2011 at 2:33 AM, Daniel Lezcano <daniel.lezc...@free.fr> wrote: > > One last question. In the case of broadcast packets with maclvan in bridge > mode. > We will have the packets going through each macvlan port and also to the > lower-device, right ? > For the latter, don't we have a problem if the packet is flagged > CHECKSUM_UNNECESSARY ? > > Shouldn't we restore the ip_summed field before sending through > dev_queue_xmit ? > > --- > drivers/net/macvlan.c | 3 +++ > 1 file changed, 3 insertions(+) > > Index: linux-next/drivers/net/macvlan.c > =================================================================== > --- linux-next.orig/drivers/net/macvlan.c > +++ linux-next/drivers/net/macvlan.c > @@ -222,10 +222,13 @@ static int macvlan_queue_xmit(struct sk_ > > if (vlan->mode == MACVLAN_MODE_BRIDGE) { > const struct ethhdr *eth = (void *)skb->data; > + __u8 ip_summed = skb->ip_summed; > + skb->ip_summed; = CHECKSUM_UNNECESSARY;
You added a additional ";". -- Regards, Changli Gao(xiao...@gmail.com) ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users