git: ipflow: Use per-cpu callout, instead of pr_slowtimo.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jul 23 18:15:26 PDT 2017


commit 36793c8b2729ad755a931924e08f51e708ab32ad
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jul 21 20:21:17 2017 +0800

    ipflow: Use per-cpu callout, instead of pr_slowtimo.
    
    The dynamically allocated per-cpu data structure may race the
    ip_flowtimo, which calls ipflow_slowtimo.
    
    Reported-by: zrj

Summary of changes:
 sys/netinet/ip_flow.c  | 47 ++++++++++++++++++++++++-----------------------
 sys/netinet/ip_flow.h  |  1 -
 sys/netinet/ip_input.c |  1 -
 3 files changed, 24 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/36793c8b2729ad755a931924e08f51e708ab32ad


-- 
DragonFly BSD source repository



More information about the Commits mailing list