aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r--net/ipv4/ip_output.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 11029b9d4cf7..11ab100d6c6c 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -384,21 +384,10 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
384#ifdef CONFIG_NET_SCHED 384#ifdef CONFIG_NET_SCHED
385 to->tc_index = from->tc_index; 385 to->tc_index = from->tc_index;
386#endif 386#endif
387#ifdef CONFIG_NETFILTER 387 nf_copy(to, from);
388 /* Connection association is same as pre-frag packet */
389 nf_conntrack_put(to->nfct);
390 to->nfct = from->nfct;
391 nf_conntrack_get(to->nfct);
392 to->nfctinfo = from->nfctinfo;
393#if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE) 388#if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE)
394 to->ipvs_property = from->ipvs_property; 389 to->ipvs_property = from->ipvs_property;
395#endif 390#endif
396#ifdef CONFIG_BRIDGE_NETFILTER
397 nf_bridge_put(to->nf_bridge);
398 to->nf_bridge = from->nf_bridge;
399 nf_bridge_get(to->nf_bridge);
400#endif
401#endif
402 skb_copy_secmark(to, from); 391 skb_copy_secmark(to, from);
403} 392}
404 393