diff options
author | Li Wei <lw@cn.fujitsu.com> | 2012-02-09 21:15:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-10 15:12:12 -0500 |
commit | 5dc7883f2a7c25f8df40d7479687153558cd531b (patch) | |
tree | 8f105bb70f72675e6bc4e2bc7516856fb21e24c0 /net/lapb/lapb_in.c | |
parent | 2b73bc65e2771372c818db7955709c8caedbf8b9 (diff) | |
download | op-kernel-dev-5dc7883f2a7c25f8df40d7479687153558cd531b.zip op-kernel-dev-5dc7883f2a7c25f8df40d7479687153558cd531b.tar.gz |
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 <lw@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions