ipv4: fix for ip_options_rcv_srr() daddr update.
authorLi Wei <lw@cn.fujitsu.com>
Tue, 8 Nov 2011 21:39:28 +0000 (21:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2011 20:59:00 +0000 (15:59 -0500)
commitb12f62efb8ec0b9523bdb6c2d412c07193086de9
treec6dfff956c15b7c6fb253f69e8a0e639d2f29d78
parentb7ea81a58adc123a4e980cb0eff9eb5c144b5dc7
ipv4: fix for ip_options_rcv_srr() daddr update.

When opt->srr_is_hit is set skb_rtable(skb) has been updated for
'nexthop' and iph->daddr should always equals to skb_rtable->rt_dst
holds, We need update iph->daddr either.

Signed-off-by: Li Wei <lw@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_options.c