net/bridge: Fix dropping packets that moving through bridge interface
Subsystems (3)
PATCH 1/1 net/bridge: Fix dropping packets that moving through bridge interface
From: Artur Molchanov <[email protected]>
Problem:br_nf_pre_routing_finish() calls itself instead of br_nf_pre_routing_finish_bridge().
Due to this bug reverse path filter drops packets that moving through bridge interface.
User impact:
Local docker containers with bridge network can not communicate with each other.
--- net/bridge/br_netfilter_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netfilter_hooks.c +1 -1
@@ -399,7 +399,7 @@ static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_br_nf_hook_thresh (NF_BR_PRE_ROUTING , net, sk, skb, skb->dev,NULL , - br_nf_pre_routing_finish); + br_nf_pre_routing_finish_bridge);return 0 ; }ether_addr_copy (eth_hdr (skb)->h_dest, dev->dev_addr);
Signature · 1 line
2.8.3
Florian Westphal
maintainerQuoted 9 lines · Artur Molchanov
From: Artur Molchanov <[email protected]>
Fixes c5136b15ea36 ("netfilter: bridge: add and use br_nf_hook_thresh")Problem:
br_nf_pre_routing_finish()calls itself instead ofbr_nf_pre_routing_finish_bridge().
Due to this bug reverse path filter drops packets that moving through bridge interface.
Indeed, thanks for fixing this!
Quoted 5 lines · Florian Westphal
Quoted 4 lines · Artur Molchanov
From: Artur Molchanov <[email protected]>
Fixes c5136b15ea36 ("netfilter: bridge: add and use br_nf_hook_thresh")
Quoted 7 lines
Quoted 5 lines
Problem:
br_nf_pre_routing_finish()calls itself instead ofbr_nf_pre_routing_finish_bridge().
Due to this bug reverse path filter drops packets that moving through bridge interface.Indeed, thanks for fixing this!
Applied, thanks everyone.
Quoted 6 lines · Pablo Neira Ayuso
Quoted 5 lines · Florian Westphal
Quoted 4 lines · Artur Molchanov
From: Artur Molchanov <[email protected]>
Fixes c5136b15ea36 ("netfilter: bridge: add and use br_nf_hook_thresh")
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Problem:
br_nf_pre_routing_finish()calls itself instead ofbr_nf_pre_routing_finish_bridge().
Due to this bug reverse path filter drops packets that moving through bridge interface.Indeed, thanks for fixing this!
Applied, thanks everyone.
When the fix will be available in upstream?