Re: [PATCH v2] ipv4: Fix wrong order of ip_rt_get_source() and update iph->daddr.
From: David Miller <davem@davemloft.net> Date: 2012-02-10 20:12:45
From: Li Wei <redacted>
Date: Fri, 10 Feb 2012 15:15:25 +0800
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 <redacted>