From: Felix Fietkau Date: Fri, 19 Jan 2018 10:50:46 +0000 (+0100) Subject: net: igmp: fix source address check for IGMPv3 reports X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f51a47feb7835f41ef19ce313410c0bbbebde05;p=pandora-kernel.git 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 Fixes: a46182b00290 ("net: igmp: Use correct source address on IGMPv3 reports") Reported-by: Sebastian Gottschall Signed-off-by: Felix Fietkau Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed