Hangbin Liu 9c8bb163ae igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
In function igmpv3/mld_add_delrec() we allocate pmc and put it in
idev->mc_tomb, so we should free it when we don't need it in del_delrec().
But I removed kfree(pmc) incorrectly in latest two patches. Now fix it.

Fixes: 24803f38a5c0 ("igmp: do not remove igmp souce list info when ...")
Fixes: 1666d49e1d41 ("mld: do not remove mld souce list info when ...")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09 16:43:45 -05:00
..
2016-09-10 23:12:51 -07:00
2016-12-25 17:21:23 +01:00
2016-12-23 12:20:39 -05:00
2017-01-18 17:07:14 -05:00
2017-02-08 13:12:22 -05:00
2016-06-27 15:06:17 -04:00
2015-11-03 10:52:13 -05:00
2017-02-07 11:19:00 -05:00
2016-09-21 10:09:14 +02:00