diff options
author | Li Wei <lw@cn.fujitsu.com> | 2011-11-23 00:33:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-24 01:19:32 +0100 |
commit | ac8a48106be49c422575ddc7531b776f8eb49610 (patch) | |
tree | d770975ffc9cebfcbb2d3ad40b0601a8d1e77c32 /net/netlabel/netlabel_kapi.c | |
parent | ehea: Use round_jiffies_relative to align workqueue (diff) | |
download | linux-ac8a48106be49c422575ddc7531b776f8eb49610.tar.xz linux-ac8a48106be49c422575ddc7531b776f8eb49610.zip |
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 <lw@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel/netlabel_kapi.c')
0 files changed, 0 insertions, 0 deletions