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

!10051 tipc: force a dst refcount before doing decryption

parents 22482061 9d23b540
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2107,6 +2107,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;