/* Returns 1 if there is overlap, otherwise 0.  */
int tipc_subscr_overlap(struct subscription *sub, u32 found_lower, u32 found_upper)
/* Returns 1 if there is overlap, otherwise 0.  */
int tipc_subscr_overlap(struct subscription *sub, u32 found_lower, u32 found_upper)
{
	if (found_lower < sub->seq.lower)
		found_lower = sub->seq.lower;
	if (found_upper > sub->seq.upper)
		found_upper = sub->seq.upper;
	if (found_lower > found_upper)
		return 0;
	return 1;
}