netifd: Fix node version set after free
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 7 May 2014 09:19:09 +0000 (09:19 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 9 May 2014 13:50:33 +0000 (15:50 +0200)
commit8714f17ad66fa29383170ad45b9c150b9818dbdf
treef7a64e764faaa76705d25acf47f62d2f762abb00
parent4b7662c5841214c105a174fdc9ab9fac870abab9
netifd: Fix node version set after free

Fixes an issue where a bridge member will be removed from the bridge
upon an interface ifup as the bridge node version -1 is overwritten
by vlist_add while the new created bridge member pointer is freed in
bridge_member_update

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
bridge.c