Andrew Lunn 6a21165480 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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-04 00:04:08 -04:00
..
2015-04-18 17:45:30 -04:00
2015-03-02 16:43:41 -05:00
2015-04-02 14:05:00 -04:00
2015-03-06 21:50:02 -05:00
2015-05-03 21:58:01 -04:00
2015-03-31 13:58:35 -04:00
2015-04-25 15:49:49 -04:00
2015-03-02 16:43:41 -05:00
2015-04-13 16:35:16 -04:00
2015-03-02 16:43:41 -05:00
2015-04-11 15:53:35 -04:00
2015-04-26 17:33:59 -07:00
2015-04-15 15:06:56 -04:00