Home
last modified time | relevance | path

Searched hist:"6 d55cb91a0020ac0d78edcad61efd6c8cf5785a3" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dip_gre.cdiff 6d55cb91a0020ac0d78edcad61efd6c8cf5785a3 Wed Mar 03 05:01:13 CET 2010 Timo Teräs <timo.teras@iki.fi> gre: fix hard header destination address checking

ipgre_header() can be called with zero daddr when the gre device is
configured as multipoint tunnel and still has the NOARP flag set (which is
typically cleared by the userspace arp daemon). If the NOARP packets are
not dropped, ipgre_tunnel_xmit() will take rt->rt_gateway (= NBMA IP) and
use that for route look up (and may lead to bogus xfrm acquires).

The multicast address check is removed as sending to multicast group should
be ok. In fact, if gre device has a multicast address as destination
ipgre_header is always called with multicast address.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>