aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r--net/ipv4/icmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index 3697e0528317..803bc9f173a7 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -577,7 +577,7 @@ void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info)
577 } 577 }
578 578
579 if (xfrm_decode_session_reverse(skb_in, &fl, AF_INET)) 579 if (xfrm_decode_session_reverse(skb_in, &fl, AF_INET))
580 goto out_unlock; 580 goto ende;
581 581
582 if (inet_addr_type(net, fl.fl4_src) == RTN_LOCAL) 582 if (inet_addr_type(net, fl.fl4_src) == RTN_LOCAL)
583 err = __ip_route_output_key(net, &rt2, &fl); 583 err = __ip_route_output_key(net, &rt2, &fl);
@@ -587,7 +587,7 @@ void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info)
587 587
588 fl2.fl4_dst = fl.fl4_src; 588 fl2.fl4_dst = fl.fl4_src;
589 if (ip_route_output_key(net, &rt2, &fl2)) 589 if (ip_route_output_key(net, &rt2, &fl2))
590 goto out_unlock; 590 goto ende;
591 591
592 /* Ugh! */ 592 /* Ugh! */
593 odst = skb_in->dst; 593 odst = skb_in->dst;
@@ -600,7 +600,7 @@ void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info)
600 } 600 }
601 601
602 if (err) 602 if (err)
603 goto out_unlock; 603 goto ende;
604 604
605 err = xfrm_lookup((struct dst_entry **)&rt2, &fl, NULL, 605 err = xfrm_lookup((struct dst_entry **)&rt2, &fl, NULL,
606 XFRM_LOOKUP_ICMP); 606 XFRM_LOOKUP_ICMP);