From: Julian Anastasov Date: Mon, 8 Oct 2012 11:41:16 +0000 (+0000) Subject: ipv4: fix forwarding for strict source routes X-Git-Tag: v3.7-rc1~66^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0adef0f7456d5d3a3bfe8ea61c7dddf146b40e1;p=pandora-kernel.git ipv4: fix forwarding for strict source routes After the change "Adjust semantics of rt->rt_gateway" (commit f8126f1d51) rt_gateway can be 0 but ip_forward() compares it directly with nexthop. What we want here is to check if traffic is to directly connected nexthop and to fail if using gateway. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed