git: libkern: Make inet_ntoa MPSAFE by passing string buffer to it.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Feb 13 06:07:59 PST 2017


commit 54ba75e6bbc563cf3be1a4d7b45dc967995a8857
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Feb 13 21:51:20 2017 +0800

    libkern: Make inet_ntoa MPSAFE by passing string buffer to it.

Summary of changes:
 sys/kern/kern_jail.c           |  4 +++-
 sys/libkern/inet_ntoa.c        |  6 ++----
 sys/net/gre/if_gre.c           |  8 ++++++--
 sys/net/ipfw/ip_fw2.c          | 26 +++++++++++++-------------
 sys/net/libalias/alias_nbt.c   | 27 +++++++++++++++++++--------
 sys/net/libalias/alias_proxy.c |  5 +++--
 sys/net/pf/pf_osfp.c           |  2 +-
 sys/netinet/if_ether.c         | 27 ++++++++++++++++++---------
 sys/netinet/in.h               |  2 +-
 sys/netinet/ip_input.c         |  7 ++++---
 sys/netinet/tcp_input.c        |  7 +++----
 sys/netinet/udp_usrreq.c       |  7 +++----
 sys/netproto/ipsec/ipsec.c     |  5 ++++-
 sys/vfs/nfs/nfs_syscalls.c     |  4 +++-
 sys/vfs/nfs/nfs_vfsops.c       | 10 +++++-----
 15 files changed, 88 insertions(+), 59 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54ba75e6bbc563cf3be1a4d7b45dc967995a8857


-- 
DragonFly BSD source repository



More information about the Commits mailing list