Subject: Re: [PATCH 2/3] netfilter: nat: snat created in route process just apply to routed traffic

From: Florian Westphal <[email-masked]>
Date: Sun, 31 Jul 2016 21:00:56 +0200

[email-masked] <[email-masked]> wrote:
> From: Xiaoping Fan <[email-masked]>
> 
> In some situations, packet goes through Linux twice, one for bridging,
> another for routing. If snat is created in bridging process, that means

Hmm, but SNAT happens in POSTROUTING.

Where can we enter routing path after bridge went though postrouting...?

Normally if bridge packet has local dst mac kb traversal is:

bridge prerouting -> bridge input -> ipv4 prerouting (hook invocation
suppressed via bridge netfilter sabotage hook)

Depending on route table we then end up in ipv4 input (again suppressed)
or in forward and postrouting.

What is the issue, exactly?