git: inet6: Use M_WAITOK on SIOCAIFADDR_IN6 path.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Jul 27 18:36:16 PDT 2015


commit 70e5139bd6171d86b3b77412d49f54b6d478a648
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jul 27 22:27:03 2015 +0800

    inet6: Use M_WAITOK on SIOCAIFADDR_IN6 path.
    
    Addition:
    - Use M_ZERO, instead of calling bzero().
    - Avoid M_ZERO, if the allocated memory is to be completely over-
      written.
    - Remove unapplied comment.

Summary of changes:
 sys/netinet6/in6.c     | 20 +++-----------------
 sys/netinet6/nd6_rtr.c | 10 ++--------
 2 files changed, 5 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70e5139bd6171d86b3b77412d49f54b6d478a648


-- 
DragonFly BSD source repository


More information about the Commits mailing list