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

!10049 tipc: force a dst refcount before doing decryption

parents 7d58e89e 31d281cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2066,6 +2066,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;