aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2011-05-10 12:46:05 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-12 18:24:46 -0400
commitc92f5ca2e5120796c56455e0a4b7cc0dfd6ceb49 (patch)
tree97048375d75069d308a5ae47b137ba30ff2edd8d /drivers/net/usb
parentipvs: Eliminate rt->rt_dst usage in __ip_vs_get_out_rt(). (diff)
downloadlinux-dev-c92f5ca2e5120796c56455e0a4b7cc0dfd6ceb49.tar.xz
linux-dev-c92f5ca2e5120796c56455e0a4b7cc0dfd6ceb49.zip
ipvs: Remove all remaining references to rt->rt_{src,dst}
Remove all remaining references to rt->rt_{src,dst} by using dest->dst_saddr to cache saddr (used for TUN mode). For ICMP in FORWARD hook just restrict the rt_mode for NAT to disable LOCALNODE. All other modes do not allow IP_VS_RT_MODE_RDR, so we should be safe with the ICMP forwarding. Using cp->daddr as replacement for rt_dst is safe for all modes except BYPASS, even when cp->dest is NULL because it is cp->daddr that is used to assign cp->dest for sync-ed connections. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions