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-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-28 15:11:32 -05:00
2017-01-16 14:39:58 -05:00
2017-01-04 08:22:04 +01:00
2016-12-16 10:24:44 -08:00
2017-01-20 15:07:27 -05:00
2016-12-06 21:33:19 -05:00
2017-01-30 11:05:04 +01:00
2017-01-18 17:58:45 +01:00
2017-02-07 11:19:00 -05:00
2016-12-03 23:54:25 -05:00
2017-01-27 10:33:56 -05:00
2016-12-24 11:46:01 -08:00
2017-02-08 14:50:51 -05:00
2017-02-08 13:56:37 -05:00
2016-10-30 12:42:58 -04:00
2016-12-16 00:13:43 +02:00
2017-02-09 16:43:45 -05:00
2017-02-09 16:43:45 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-10 21:08:29 -05:00
2017-02-09 16:38:48 -05:00
2016-11-18 10:59:15 -05:00
2017-01-01 22:07:20 -05:00
2016-12-24 11:46:01 -08:00
2016-11-14 13:17:21 -05:00
2017-02-06 07:55:44 +01:00
2016-12-25 17:21:22 +01:00
2017-01-24 16:21:36 -05:00
2016-10-20 11:23:08 -04:00
2017-01-24 21:46:59 +01:00
2017-01-06 22:20:45 -05:00
2016-12-24 11:46:01 -08:00
2016-10-27 16:16:09 -04:00
2017-01-15 22:15:16 -05:00
2017-02-08 13:56:37 -05:00
2016-11-18 10:59:15 -05:00
2017-01-10 20:45:04 -05:00
2016-12-20 14:22:49 -05:00
2016-12-24 11:46:01 -08:00
2016-12-14 16:04:10 -08:00
2017-02-01 11:57:33 -05:00
2017-02-07 14:07:23 -05:00
2017-01-31 12:29:24 -05:00
2016-10-30 12:42:58 -04:00
2017-01-24 16:14:58 -05:00
2017-01-24 14:30:56 -05:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2017-02-06 07:59:07 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-11 09:47:10 -05:00
2017-01-10 11:29:50 -05:00