From: Li Wei Date: Tue, 22 Nov 2011 23:33:10 +0000 (+0000) Subject: ipv4: Save nexthop address of LSRR/SSRR option to IPCB. X-Git-Tag: v3.2-rc5~56^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8a48106be49c422575ddc7531b776f8eb49610;p=pandora-kernel.git ipv4: Save nexthop address of LSRR/SSRR option to IPCB. We can not update iph->daddr in ip_options_rcv_srr(), It is too early. When some exception ocurred later (eg. in ip_forward() when goto sr_failed) we need the ip header be identical to the original one as ICMP need it. Add a field 'nexthop' in struct ip_options to save nexthop of LSRR or SSRR option. Signed-off-by: Li Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed