diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-02-24 14:05:11 +0100 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-02-24 14:05:11 +0100 |
commit | 039a65d0e4f33f8432caae78cd919d2fd2052eea (patch) | |
tree | 3580619e800525d1d89ef0b1a41596249f2e070c /nest/rt-attr.c | |
parent | 93f50ca31757fc8e416093e0c73681e070294a3d (diff) |
Nexthop: Fixed hostentry
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r-- | nest/rt-attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index afc97e22..2c8ee7db 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -1155,12 +1155,12 @@ rta__free(rta *a) *a->pprev = a->next; if (a->next) a->next->pprev = a->pprev; - a->aflags = 0; /* Poison the entry */ rt_unlock_hostentry(a->hostentry); rt_unlock_source(a->src); if (a->nh.next) nexthop_free(a->nh.next); ea_free(a->eattrs); + a->aflags = 0; /* Poison the entry */ sl_free(rta_slab(a), a); } |