git: DragonFly_RELEASE_5_0 kernel - Zero out syncache_percpu properly
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Sat Oct 21 17:33:12 PDT 2017
    
    
  
commit b21cd7fd1e0030ccf2d98da86a150b84c4c26552
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Oct 21 17:31:43 2017 -0700
    kernel - Zero out syncache_percpu properly
    
    * The kmalloc for the syncache_percpu was not using M_ZERO
      which I believe can cause cache_count to be some random
      value.  If this value is close to or larger than the syncache
      limit, the garbage collector may run with no entries to reuse,
      causing a NULL pointer dereference and panic.
    
    Reported-by: pa3k #3088
Summary of changes:
 sys/netinet/tcp_syncache.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b21cd7fd1e0030ccf2d98da86a150b84c4c26552
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list