aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index e94992ab92e6..e9bcce9e7bdf 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -732,7 +732,8 @@ static int icmpv6_rcv(struct sk_buff **pskb)
732 */ 732 */
733 733
734 icmpv6_notify(skb, type, hdr->icmp6_code, hdr->icmp6_mtu); 734 icmpv6_notify(skb, type, hdr->icmp6_code, hdr->icmp6_mtu);
735 }; 735 }
736
736 kfree_skb(skb); 737 kfree_skb(skb);
737 return 0; 738 return 0;
738 739
@@ -865,7 +866,7 @@ int icmpv6_err_convert(int type, int code, int *err)
865 case ICMPV6_TIME_EXCEED: 866 case ICMPV6_TIME_EXCEED:
866 *err = EHOSTUNREACH; 867 *err = EHOSTUNREACH;
867 break; 868 break;
868 }; 869 }
869 870
870 return fatal; 871 return fatal;
871} 872}