android_kernel_samsung_msm8976/net/ipv6
Hangbin Liu b940520ab4 igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
commit 9c8bb163ae784be4f79ae504e78c862806087c54 upstream.

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 ...")
Change-Id: I81bad9c39912fbdd8170fafaf7f9d122cb9c52c3
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-10-27 19:33:52 +01:00
..
netfilter netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt 2019-07-27 22:08:32 +02:00
addrconf.c ipv6: add option to drop unsolicited neighbor advertisements 2019-08-03 00:24:04 +02:00
addrconf_core.c
addrlabel.c
af_inet6.c ipv6: Consider sk_bound_dev_if when binding a socket to an address 2019-07-27 22:05:57 +02:00
ah6.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
anycast.c ipv6: fix rtnl locking in setsockopt for anycast and multicast 2019-07-27 21:42:28 +02:00
datagram.c net: add build-time checks for msg->msg_name size 2019-08-16 03:55:59 +02:00
esp6.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
exthdrs.c
exthdrs_core.c This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
exthdrs_offload.c
fib6_rules.c
icmp.c ipv6: fix endianness error in icmpv6_err 2019-07-27 21:51:03 +02:00
inet6_connection_sock.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
inet6_hashtables.c
ip6_checksum.c
ip6_fib.c ipv6: fix sparse warning on rt6i_node 2019-07-27 21:45:09 +02:00
ip6_flowlabel.c ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero 2019-07-27 22:11:17 +02:00
ip6_gre.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
ip6_icmp.c
ip6_input.c ipv6: add option to drop unicast encapsulated in L2 multicast 2019-08-03 00:21:48 +02:00
ip6_offload.c ipv6: Fix leak in ipv6_gso_segment(). 2019-07-27 21:44:50 +02:00
ip6_offload.h
ip6_output.c inet: update the IP ID generation algorithm to higher standards. 2019-07-27 22:10:09 +02:00
ip6_tunnel.c ip6_tunnel: be careful when accessing the inner header 2019-07-27 21:52:36 +02:00
ip6mr.c ip6mr: Do not call __IP6_INC_STATS() from preemptible context 2019-07-27 22:11:26 +02:00
ipcomp6.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
ipv6_sockglue.c netfilter: drop outermost socket lock in getsockopt() 2019-07-27 21:49:20 +02:00
Kconfig
Makefile
mcast.c igmp, mld: Fix memory leak in igmpv3/mld_del_delrec() 2019-10-27 19:33:52 +01:00
mip6.c
ndisc.c ipv6: add option to drop unsolicited neighbor advertisements 2019-08-03 00:24:04 +02:00
netfilter.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
output_core.c ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt() 2019-07-27 21:45:02 +02:00
ping.c net: add build-time checks for msg->msg_name size 2019-08-16 03:55:59 +02:00
proc.c
protocol.c
raw.c net: add build-time checks for msg->msg_name size 2019-08-16 03:55:59 +02:00
reassembly.c net: disable fragment reassembly if high_thresh is set to zero 2019-07-27 21:42:34 +02:00
route.c ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy 2019-07-27 22:08:33 +02:00
sit.c ipv6: sit: better validate user provided tunnel names 2019-07-27 21:52:03 +02:00
syncookies.c net: inet: Support UID-based routing in IP protocols. 2019-07-27 21:50:59 +02:00
sysctl_net_ipv6.c
tcp_ipv6.c net: Replace more instances of ACCESS_ONCE w/ READ_ONCE 2019-07-27 22:08:51 +02:00
tcpv6_offload.c
tunnel6.c
udp.c net: add build-time checks for msg->msg_name size 2019-08-16 03:55:59 +02:00
udp_impl.h
udp_offload.c net: avoid skb_warn_bad_offload false positives on UFO 2019-07-27 21:45:23 +02:00
udplite.c
xfrm6_input.c xfrm: Reinject transport-mode packets through tasklet 2019-07-27 21:46:20 +02:00
xfrm6_mode_beet.c
xfrm6_mode_ro.c ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt() 2019-07-27 21:44:48 +02:00
xfrm6_mode_transport.c ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt() 2019-07-27 21:44:48 +02:00
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c xfrm6: avoid potential infinite loop in _decode_session6() 2019-07-27 21:52:24 +02:00
xfrm6_state.c
xfrm6_tunnel.c xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module 2019-08-15 21:02:28 +02:00