Fixes some asserts.
This commit is contained in:
parent
538fec7b1b
commit
1cb0f83d29
1 changed files with 2 additions and 2 deletions
|
@ -1235,7 +1235,7 @@ proto_want_core_up(struct proto *p)
|
||||||
static void
|
static void
|
||||||
proto_want_export_up(struct proto *p)
|
proto_want_export_up(struct proto *p)
|
||||||
{
|
{
|
||||||
ASSERT(p->core_state == CS_HAPPY);
|
ASSERT(p->core_state == FS_HAPPY);
|
||||||
ASSERT(p->export_state == ES_DOWN);
|
ASSERT(p->export_state == ES_DOWN);
|
||||||
|
|
||||||
proto_link_ahooks(p);
|
proto_link_ahooks(p);
|
||||||
|
@ -1258,7 +1258,7 @@ proto_want_export_down(struct proto *p)
|
||||||
static void
|
static void
|
||||||
proto_want_core_down(struct proto *p)
|
proto_want_core_down(struct proto *p)
|
||||||
{
|
{
|
||||||
ASSERT(p->core_state == CS_HAPPY);
|
ASSERT(p->core_state == FS_HAPPY);
|
||||||
ASSERT(p->export_state == ES_DOWN);
|
ASSERT(p->export_state == ES_DOWN);
|
||||||
|
|
||||||
p->core_state = FS_FLUSHING;
|
p->core_state = FS_FLUSHING;
|
||||||
|
|
Loading…
Reference in a new issue