git: inet6/pim: Return IPPROTO_DONE if the mbuf is freed.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Apr 17 06:36:35 PDT 2018


commit d41f11ec90b6a23f083e461bec30c4530fb8b624
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Apr 17 21:33:59 2018 +0800

    inet6/pim: Return IPPROTO_DONE if the mbuf is freed.
    
    This prevents the caller from using the freed mbuf.
    
    Obtained-from: NetBSD via FreeBSD

Summary of changes:
 sys/netinet6/ip6_mroute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list