/*
- * Copyright (c) 2012 Apple Inc. All rights reserved.
+ * Copyright (c) 2012-2017 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
{
#pragma unused(err)
for (;;) {
- lck_mtx_assert(&fadv_lock, LCK_MTX_ASSERT_OWNED);
+ LCK_MTX_ASSERT(&fadv_lock, LCK_MTX_ASSERT_OWNED);
while (STAILQ_EMPTY(&fadv_list)) {
VERIFY(!fadv_active);
(void) msleep0(&fadv_list, &fadv_lock, (PSOCK | PSPIN),
STAILQ_NEXT(fce, fce_link) = NULL;
lck_mtx_unlock(&fadv_lock);
- switch (fce->fce_flowsrc) {
+ switch (fce->fce_flowsrc_type) {
case FLOWSRC_INPCB:
inp_flowadv(fce->fce_flowid);
break;
ifnet_flowadv(fce->fce_flowid);
break;
+
case FLOWSRC_PF:
default:
break;