git: kernel - Clean up minor kernel memory leak (2)

Matthew Dillon dillon at
Fri Dec 20 11:37:12 PST 2019

commit ec07d5f745a2d90d2105fb16ed3ffc60ea296289
Author: Matthew Dillon <dillon at>
Date:   Fri Dec 20 11:34:33 2019 -0800

    kernel - Clean up minor kernel memory leak (2)
    * Move the bzero()s because there is one case where rt_msg_buffer()
      can actually be called with the msghdr already partially filled-out.
    * Tested w/dsynth, openvpn should now build.  This should also solve
      the reported panic.
    Reported-by: zrj, kworr

Summary of changes:
 sys/net/rtsock.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list