git: Revert "pf: Allow disappearing or not yet existing interfaces for ALTQ"

Aaron LI aly at crater.dragonflybsd.org
Wed Aug 8 19:43:42 PDT 2018


commit d15093b968014ef49e9a6d18ef3d97557410473e
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Aug 9 10:40:36 2018 +0800

    Revert "pf: Allow disappearing or not yet existing interfaces for ALTQ"
    
    This reverts commit 0a887f91f9633448c99b9a5b7c6116a0a22d25d6.
    
    1. It's incorrect to change the ifnet_unlock().  The original protection
       range is used to make sure that the ifp does not get ripped out behind
       our back.
    
    2. We don't suffer from the issue that that commit was intended to fix.
    
    Thanks-to: sephe

Summary of changes:
 sys/net/pf/pf_if.c            |  10 ----
 sys/net/pf/pf_ioctl.c         | 123 +++++++-----------------------------------
 sys/net/pf/pfvar.h            |   6 ---
 usr.sbin/pfctl/pfctl_altq.c   |   4 --
 usr.sbin/pfctl/pfctl_qstats.c |  17 +-----
 5 files changed, 21 insertions(+), 139 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d15093b968014ef49e9a6d18ef3d97557410473e


-- 
DragonFly BSD source repository



More information about the Commits mailing list