CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2015/11/28 12:10:26

Modified files:
        sys/net        : if_pppoe.c 

Log message:
Convert pppoe(4) to use if_get()/if_put(): instead of storing a
pointer to the parent "pppoedev", it now only stores an interface
index.  This also fixes a potential NULL pointer dereference that
could happen in pppoe_find_softc_by_session() when the parent got
deconfigured but the session was still active.

Found the hard way with pppoe(4) on vlan7.

OK mpi@, with debugging help from mikeb@

Reply via email to