[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140515.163400.1536463708975272927.davem@davemloft.net>
Date: Thu, 15 May 2014 16:34:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com,
cwang@...pensource.com
Subject: Re: [Patch net] loopback: explicitly set pkt_type to PACKET_HOST
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Wed, 14 May 2014 11:39:22 -0700
> From: Cong Wang <cwang@...pensource.com>
>
> In a corner case where I redirect the packets from veth to lo,
> packets are dropped silently when entering IP stack. This is
> due to we have a different MAC addr on veth, so the packets are
> marked as PACKET_OTHERHOST. And after they are redirect to lo,
> this value is kept since lo has the same MAC addr with the packets.
> Loopback should explicitly set it to PACKET_HOST before calling
> eth_type_trans() for this specific case.
>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
> Signed-off-by: Cong Wang <cwang@...pensource.com>
How exactly are you performing this redirection?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists