[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpXrvXUGq_ZPx0n0H9251_4hXVb_jpeUVDdBEtJ6beSNJw@mail.gmail.com>
Date: Fri, 16 May 2014 13:57:58 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Cong Wang <cwang@...pensource.com>
Subject: Re: [Patch net] loopback: explicitly set pkt_type to PACKET_HOST
On Fri, May 16, 2014 at 12:17 PM, David Miller <davem@...emloft.net> wrote:
> From: Cong Wang <xiyou.wangcong@...il.com>
>> Oh, I meant using tc mirred action to redirect packets from vethX to lo.
>> Sorry for confusing.
>
> I think you can't expect arbitrary redirection of packets from an outgoing
> interface back into the stack via loopback to work like that.
>
> The is never any legitimate reason in this type of flow to override the
> decisions made by eth_type_trans() as to the disposition of the packet type.
>
Yeah, it's ok, probably setting the right mac on vethX is the real fix
to this problem in my case.
Thanks.
--
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