[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170321163245.34159349@xeon-e3>
Date: Tue, 21 Mar 2017 16:32:45 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Linus Lüssing <linus.luessing@...3.blue>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
bridge@...ts.linux-foundation.org, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] bridge: ebtables: fix reception of frames DNAT-ed to
bridge device
On Tue, 21 Mar 2017 23:28:45 +0100
Linus Lüssing <linus.luessing@...3.blue> wrote:
> However, the IP code drops it in the beginning of ip_input.c/ip_rcv()
> as the dnat target did not update the skb->pkt_type. If after
> dnat'ing the packet is now destined to us then the skb->pkt_type
> needs to be updated from PACKET_OTHERHOST to PACKET_HOST, too.
Why not fix DNAT netfilter module rather than hacking bridge code here.
Powered by blists - more mailing lists