summaryrefslogtreecommitdiff
path: root/sys/netbt/l2cap.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2009-02-12 16:54:32 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2009-02-12 16:54:32 +0000
commitf2977c3ace1c02f6905aa839cd4bf1503ef2fa21 (patch)
tree855c4e226de1e4ea5f29789ce4dfb1b7482dfcdb /sys/netbt/l2cap.h
parentc1665c605cee2d8efce682f3fecb6bf1a6d59242 (diff)
Make vertex_free() correctly free LSAs in per-interface LSA trees.
Save a pointer to the right LSA tree in new member v->lsa_tree. This saves us the hassle of finding the right tree in vertex_free(), we already know it at creation time so why not tuck it in there? This might cause problems if the ospfe side ever decides to call area_del() with a non-empty area->lsa_tree, without correctly initialising v->lsa_tree. But grep shows that the area's lsa_tree is currently just initialized on the ospfe side, but never modified. ospf6d daemons which crashed after about 1 min with malloc options FGJ are now happy. ok claudio@
Diffstat (limited to 'sys/netbt/l2cap.h')
0 files changed, 0 insertions, 0 deletions