android_kernel_samsung_msm8976/net/ipv4
Felix Fietkau 01c28c01c2 net: igmp: fix source address check for IGMPv3 reports
commit ad23b750933ea7bf962678972a286c78a8fa36aa upstream.

Commit "net: igmp: Use correct source address on IGMPv3 reports"
introduced a check to validate the source address of locally generated
IGMPv3 packets.
Instead of checking the local interface address directly, it uses
inet_ifa_match(fl4->saddr, ifa), which checks if the address is on the
local subnet (or equal to the point-to-point address if used).

This breaks for point-to-point interfaces, so check against
ifa->ifa_local directly.

Cc: Kevin Cernekee <cernekee@chromium.org>
Fixes: a46182b00290 ("net: igmp: Use correct source address on IGMPv3 reports")
Reported-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-27 21:46:31 +02:00
..
netfilter netfilter: invoke synchronize_rcu after set the _hook_ to NULL 2019-07-27 21:44:22 +02:00
af_inet.c net: ping: do not abuse udp_poll() 2019-07-27 21:44:33 +02:00
ah4.c ipv4: properly refresh rtable entries on pmtu/redirect events 2019-07-27 21:45:24 +02:00
arp.c
cipso_ipv4.c netlabel: out of bound access in cipso_v4_validate() 2019-07-27 21:43:04 +02:00
datagram.c ipv6: lock socket in ip6_datagram_connect() 2015-10-01 12:07:37 +02:00
devinet.c ipv4: Don't do expensive useless work during inetdev destroy. 2017-04-22 23:02:54 +02:00
esp4.c xfrm: Return error on unknown encap_type in init_state 2019-07-27 21:46:27 +02:00
fib_frontend.c ipv4: initialize fib_trie prior to register_netdev_notifier call. 2019-07-27 21:44:39 +02:00
fib_lookup.h
fib_rules.c
fib_semantics.c
fib_trie.c
gre.c
icmp.c
igmp.c net: igmp: fix source address check for IGMPv3 reports 2019-07-27 21:46:31 +02:00
inet_connection_sock.c dccp/tcp: do not inherit mc_list from parent 2017-05-20 14:06:16 +02:00
inet_diag.c net: diag: support v4mapped sockets in inet_diag_find_one_icsk() 2016-05-18 14:36:08 +05:30
inet_fragment.c
inet_hashtables.c
inet_lro.c
inet_timewait_sock.c
inetpeer.c
ip_forward.c
ip_fragment.c net: disable fragment reassembly if high_thresh is set to zero 2019-07-27 21:42:34 +02:00
ip_gre.c
ip_input.c
ip_options.c
ip_output.c udp: consistently apply ufo or fragmentation 2019-07-27 21:44:11 +02:00
ip_sockglue.c ipv4: keep skb->dst around in presence of IP options 2017-07-10 21:25:02 +00:00
ip_tunnel.c
ip_vti.c vti4: Don't count header length twice. 2019-07-27 21:43:07 +02:00
ipcomp.c ipv4: properly refresh rtable entries on pmtu/redirect events 2019-07-27 21:45:24 +02:00
ipconfig.c
ipip.c
ipmr.c ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route 2019-07-27 21:42:37 +02:00
Kconfig net: diag: Support destroying TCP sockets. 2016-05-18 14:36:07 +05:30
Makefile
netfilter.c
ping.c ping: fix a null pointer dereference 2019-07-27 21:43:05 +02:00
proc.c
protocol.c
raw.c net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg() 2019-07-27 21:46:29 +02:00
route.c route: update fnhe_expires for redirect when the fnhe exists 2019-07-27 21:45:25 +02:00
syncookies.c
sysctl_net_ipv4.c
sysfs_net_ipv4.c
tcp.c tcp: reset sk_rx_dst in tcp_disconnect() 2019-07-27 21:44:30 +02:00
tcp_bic.c
tcp_cong.c tcp: disallow cwnd undo when switching congestion control 2019-07-27 21:44:29 +02:00
tcp_cubic.c tcp_cubic: do not set epoch_start in the future 2017-04-18 12:17:39 +02:00
tcp_diag.c net: diag: Support destroying TCP sockets. 2016-05-18 14:36:07 +05:30
tcp_fastopen.c
tcp_highspeed.c
tcp_htcp.c
tcp_hybla.c
tcp_illinois.c
tcp_input.c tcp: eliminate negative reordering in tcp_clean_rtx_queue 2019-07-27 21:44:46 +02:00
tcp_ipv4.c tcp md5sig: Use skb's saddr when replying to an incoming segment 2019-07-27 21:46:17 +02:00
tcp_lp.c tcp: fix wraparound issue in tcp_lp 2019-07-27 21:44:45 +02:00
tcp_memcontrol.c
tcp_metrics.c
tcp_minisocks.c tcp: initialize icsk_ack.lrcvtime at session start time 2019-07-27 21:44:04 +02:00
tcp_output.c tcp: fastopen: fix on syn-data transmit failure 2019-07-27 21:45:48 +02:00
tcp_probe.c
tcp_scalable.c
tcp_timer.c tcp: fix various issues for sockets morphing to listen state 2019-07-27 21:44:00 +02:00
tcp_vegas.c
tcp_vegas.h
tcp_veno.c
tcp_westwood.c
tcp_yeah.c tcp_yeah: don't set ssthresh below 2 2016-01-28 21:49:34 -08:00
tunnel4.c
udp.c net: avoid skb_warn_bad_offload false positives on UFO 2019-07-27 21:45:23 +02:00
udp_diag.c
udp_impl.h
udplite.c
xfrm4_input.c xfrm: Reinject transport-mode packets through tasklet 2019-07-27 21:46:20 +02:00
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c This is the 3.10.84 stable release 2015-09-30 13:25:40 +05:30
xfrm4_state.c
xfrm4_tunnel.c