git: inet/mcast: Don't free inp_moptions in ip_setmoptions()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Dec 13 17:32:36 PST 2015


commit ef6b578f137cdf9e9abd9592a179e0d28185fafa
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Dec 12 20:09:13 2015 +0800

    inet/mcast: Don't free inp_moptions in ip_setmoptions()
    
    This memory foot print optimization does not save much memory for
    us, but it could cause a lot of trouble for in_pcbladdr_find().

Summary of changes:
 sys/netinet/in_pcb.c    |  3 +--
 sys/netinet/ip_output.c | 16 +++-------------
 2 files changed, 4 insertions(+), 15 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list