Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606075

Re: [PATCH v2] bridge: ebtables: fix reception of frames DNAT-ed to bridge device

From Stephen Hemminger <stephen@networkplumber.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] bridge: ebtables: fix reception of frames DNAT-ed to bridge device
Date 2017-03-22 00:40 +0100
Message-ID <tnBxD-1Vz-5@gated-at.bofh.it> (permalink)
References <tnArU-1fs-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 21 Mar 2017 23:28:45 +0100
Linus Lüssing <linus.luessing@c0d3.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.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] bridge: ebtables: fix reception of frames DNAT-ed to bridge device Linus Lüssing <linus.luessing@c0d3.blue> - 2017-03-21 23:30 +0100
  Re: [PATCH v2] bridge: ebtables: fix reception of frames DNAT-ed to  bridge device Stephen Hemminger <stephen@networkplumber.org> - 2017-03-22 00:40 +0100

csiph-web