Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



On 16/02/2016 08:38, Roy Marples wrote:
> 	for (i = 0; i < ifp->if_link_queue_len; i++) {
> 		if (link_state <= ifp->if_link_queue[i]) {
> 			ifp->if_link_queue[i] = link_state;
> 			ifp->if_link_queue_len = i;

This should be ifp->if_link_queue_len = i + 1;

> 			/* Because we are trimming the queue,
> 			 * there is no need to call softint_schedule again. */
> 			goto out;
> 		}
> 	}

Roy


Home | Main Index | Thread Index | Old Index