From: Li Wei Date: Thu, 9 Feb 2012 21:15:25 +0000 (+0000) Subject: ipv4: Fix wrong order of ip_rt_get_source() and update iph->daddr. X-Git-Tag: v3.3-rc4~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc7883f2a7c25f8df40d7479687153558cd531b;p=pandora-kernel.git ipv4: Fix wrong order of ip_rt_get_source() and update iph->daddr. This patch fix a bug which introduced by commit ac8a4810 (ipv4: Save nexthop address of LSRR/SSRR option to IPCB.).In that patch, we saved the nexthop of SRR in ip_option->nexthop and update iph->daddr until we get to ip_forward_options(), but we need to update it before ip_rt_get_source(), otherwise we may get a wrong src. Signed-off-by: Li Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed