From: Eric Dumazet <[email protected]>
Date: Wed, 22 May 2019 16:51:22 -0700

> syzbot reported memory leaks [1] that I have back tracked to
> a missing cleanup from igmpv3_del_delrec() when
> (im->sfmode != MCAST_INCLUDE)
> 
> Add ip_sf_list_clear_all() and kfree_pmc() helpers to explicitely
> handle the cleanups before freeing.
> 
> [1]
 ...
> Fixes: 9c8bb163ae78 ("igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()")
> Signed-off-by: Eric Dumazet <[email protected]>
> Cc: Hangbin Liu <[email protected]>
> Reported-by: syzbot <[email protected]>

Applied and queued up for -stable, thanks Eric.

Reply via email to