git: network/gif - Correctly clear route cache on destroy.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Apr 7 01:10:45 PDT 2014


commit 4b09ee0ab7218a6be5e9ad91adfbc75d4f4db6bd
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Apr 7 09:37:56 2014 +0200

    network/gif - Correctly clear route cache on destroy.
    
    RTFREE() requires that the route is freed in the CPU it belongs to.
    Migrating to the target CPU *before* calling it and returning to the
    original CPU afterwards seems to do the trick.
    
    Ok: @sephe

Summary of changes:
 sys/net/gif/if_gif.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b09ee0ab7218a6be5e9ad91adfbc75d4f4db6bd


-- 
DragonFly BSD source repository



More information about the Commits mailing list