From: Andrew Lunn Date: Fri, 1 May 2015 14:39:54 +0000 (+0200) Subject: net: ipv4: route: Fix sending IGMP messages with link address X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a21165480a066a27c1f1dbd32aec581c612ba23;p=pandora-kernel.git net: ipv4: route: Fix sending IGMP messages with link address In setups with a global scope address on an interface, and a lesser scope address on an interface sending IGMP reports, the reports can be sent using the other interfaces global scope address rather than the local interface address. RFC 2236 suggests: Ignore the Report if you cannot identify the source address of the packet as belonging to a subnet assigned to the interface on which the packet was received. since such reports could be forged. Look at the protocol when deciding if a RT_SCOPE_LINK address should be used for the packet. Signed-off-by: Andrew Lunn Signed-off-by: David S. Miller --- Reading git-diff-tree failed