• Anton Blanchard's avatar
    [PATCH] another fix to sym2 hotplug conversion · 4e9f2a9a
    Anton Blanchard authored
    In sym_attach we call sym_hcb_attach. If it fails we call
    sym_free_resources which will call sym_hcb_free. Unfortunately
    sym_hcb_attach also calls sym_hcb_free on failure.
    
    This results in a bunch of things being freed twice and it looks like
    the sym2 memory allocator adds them to the freelist twice. Sometime later
    on we allocate the memory twice, with weird consequences.
    4e9f2a9a
sym_hipd.c 146 KB