Commit 6bb00924 authored by Bart De Schuymer's avatar Bart De Schuymer Committed by David S. Miller

[BRIDGE NETFILTER]: IPV6 needs the skb->nf_bridge leak fix as well.

parent 081a9ddb
...@@ -877,6 +877,7 @@ static void ip6_copy_metadata(struct sk_buff *to, struct sk_buff *from) ...@@ -877,6 +877,7 @@ static void ip6_copy_metadata(struct sk_buff *to, struct sk_buff *from)
to->nfct = from->nfct; to->nfct = from->nfct;
nf_conntrack_get(to->nfct); nf_conntrack_get(to->nfct);
#ifdef CONFIG_BRIDGE_NETFILTER #ifdef CONFIG_BRIDGE_NETFILTER
nf_bridge_put(to->nf_bridge);
to->nf_bridge = from->nf_bridge; to->nf_bridge = from->nf_bridge;
nf_bridge_get(to->nf_bridge); nf_bridge_get(to->nf_bridge);
#endif #endif
......
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