Commit 7242b16a authored by Bart De Schuymer's avatar Bart De Schuymer Committed by David S. Miller

[BRIDGE]: Always set BRNF_BRIDGED mask when bridging.

parent 69e3e77c
......@@ -348,10 +348,9 @@ static unsigned int br_nf_forward(unsigned int hook, struct sk_buff **pskb,
if (skb->pkt_type == PACKET_OTHERHOST) {
skb->pkt_type = PACKET_HOST;
nf_bridge->mask |= BRNF_PKT_TYPE;
/* The physdev module checks on this */
nf_bridge->mask |= BRNF_BRIDGED;
}
nf_bridge->mask |= BRNF_BRIDGED; /* The physdev module checks on this */
nf_bridge->physoutdev = skb->dev;
NF_HOOK(PF_INET, NF_IP_FORWARD, skb, bridge_parent(nf_bridge->physindev),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment