/* tipc_link_reset_fragments - purge link's inbound message fragments queue @l_ptr: pointer to link  */
void tipc_link_reset_fragments(struct link *l_ptr)
/* tipc_link_reset_fragments - purge link's inbound message fragments queue @l_ptr: pointer to link  */
void tipc_link_reset_fragments(struct link *l_ptr)
{
	struct sk_buff *buf = l_ptr->defragm_buf;
	struct sk_buff *next;
	while (buf) {
		next = buf->next;
		buf_discard(buf);
		buf = next;
	}
	l_ptr->defragm_buf = NULL;
}