git: inet6: ifp == ifindex2ifnet[ifp->if_index]

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Jan 3 18:03:22 PST 2015


commit 428ad8254bc57f23223652f4bda48e33697430f4
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jan 2 20:11:35 2015 +0800

    inet6: ifp == ifindex2ifnet[ifp->if_index]
    
    There is no need to go through extra indirection.

Summary of changes:
 sys/netinet6/nd6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/428ad8254bc57f23223652f4bda48e33697430f4


-- 
DragonFly BSD source repository


More information about the Commits mailing list