Unverified Commit 17727947 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!10048 tipc: force a dst refcount before doing decryption

parents 5c8f7115 a499373e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2076,6 +2076,7 @@ void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b)
	} else {
		n = tipc_node_find_by_id(net, ehdr->id);
	}
	skb_dst_force(skb);
	tipc_crypto_rcv(net, (n) ? n->crypto_rx : NULL, &skb, b);
	if (!skb)
		return;