diff options
author | YOSHIFUJI Hideaki / 吉藤英明 | 2013-01-17 13:53:48 +0100 |
---|---|---|
committer | David S. Miller | 2013-01-18 00:38:19 +0100 |
commit | 9bb5a14813f502b867a45075c88bc1f2b78381df (patch) | |
tree | ad847b21e5891498947b270a483c78693779d4e1 /net/ipv6/ip6_output.c | |
parent | ipv6: Do not depend on rt->n in rt6_probe(). (diff) | |
download | kernel-qcow2-linux-9bb5a14813f502b867a45075c88bc1f2b78381df.tar.gz kernel-qcow2-linux-9bb5a14813f502b867a45075c88bc1f2b78381df.tar.xz kernel-qcow2-linux-9bb5a14813f502b867a45075c88bc1f2b78381df.zip |
ipv6: Introduce rt6_nexthop() to select nexthop address.
For RTF_GATEWAY route, return rt->rt6i_gateway.
Otherwise, return 2nd argument (destination address).
This will be used by following patches which remove rt->n
dependency patches in ip6_dst_lookup_tail() and ip6_finish_output2().
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions