ipv6: Remove external dependency on rt6i_dst and rt6i_src
This patch removes the assumptions that the returned rt is always a RTF_CACHE entry with the rt6i_dst and rt6i_src containing the destination and source address. The dst and src can be recovered from the calling site. We may consider to rename (rt6i_dst, rt6i_src) to (rt6i_key_dst, rt6i_key_src) later. Signed-off-by:Martin KaFai Lau <kafai@fb.com> Reviewed-by:
Hannes Frederic Sowa <hannes@stressinduktion.org> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Julian Anastasov <ja@ssi.bg> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/scsi/cxgbi/libcxgbi.c 1 addition, 1 deletiondrivers/scsi/cxgbi/libcxgbi.c
- include/net/ipv6.h 3 additions, 1 deletioninclude/net/ipv6.h
- net/ipv6/icmp.c 1 addition, 1 deletionnet/ipv6/icmp.c
- net/ipv6/ip6_output.c 8 additions, 5 deletionsnet/ipv6/ip6_output.c
- net/ipv6/ndisc.c 1 addition, 1 deletionnet/ipv6/ndisc.c
- net/ipv6/output_core.c 6 additions, 4 deletionsnet/ipv6/output_core.c
- net/ipv6/tcp_ipv6.c 1 addition, 1 deletionnet/ipv6/tcp_ipv6.c
- net/netfilter/ipvs/ip_vs_xmit.c 2 additions, 2 deletionsnet/netfilter/ipvs/ip_vs_xmit.c
- net/sctp/ipv6.c 2 additions, 1 deletionnet/sctp/ipv6.c
Loading
Please register or sign in to comment