altq-ifpurge.diff

corecode, 01/17/2007 03:04 AM

Download (551 Bytes)

View differences:

net/ifq_var.h 17 Jan 2007 02:55:43 -0000
153 153
static __inline void
154 154
ifq_purge(struct ifaltq *_ifq)
155 155
{
156
	(*_ifq->altq_request)(_ifq, ALTRQ_PURGE, NULL);
156
	if (ifq_is_enabled(_ifq))
157
		(*_ifq->altq_request)(_ifq, ALTRQ_PURGE, NULL);
158
	else
159
		IF_DRAIN(_ifq);
157 160
}
158 161

  
159 162
/*