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

Commit 0ce28553 authored by Denis V. Lunev's avatar Denis V. Lunev Committed by David S. Miller
Browse files

ipv6: missed namespace context in ipv6_rthdr_rcv

parent fe785bee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -445,7 +445,7 @@ static int ipv6_rthdr_rcv(struct sk_buff *skb)
			kfree_skb(skb);
			return -1;
		}
		if (!ipv6_chk_home_addr(&init_net, addr)) {
		if (!ipv6_chk_home_addr(dev_net(skb->dst->dev), addr)) {
			IP6_INC_STATS_BH(ip6_dst_idev(skb->dst),
					 IPSTATS_MIB_INADDRERRORS);
			kfree_skb(skb);