Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8da73b73 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

ip6mr: use goto to common label instead of opencoding

parent 448eb71f
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1501,8 +1501,7 @@ static int ip6mr_forward2(struct sk_buff *skb, struct mfc6_cache *c, int vifi)
		vif->dev->stats.tx_bytes += skb->len;
		vif->dev->stats.tx_bytes += skb->len;
		vif->dev->stats.tx_packets++;
		vif->dev->stats.tx_packets++;
		ip6mr_cache_report(net, skb, vifi, MRT6MSG_WHOLEPKT);
		ip6mr_cache_report(net, skb, vifi, MRT6MSG_WHOLEPKT);
		kfree_skb(skb);
		goto out_free;
		return 0;
	}
	}
#endif
#endif