diff options
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_xmit.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_xmit.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/net/netfilter/ipvs/ip_vs_xmit.c b/net/netfilter/ipvs/ip_vs_xmit.c index 02ddc2b3ce2..be34c335cab 100644 --- a/net/netfilter/ipvs/ip_vs_xmit.c +++ b/net/netfilter/ipvs/ip_vs_xmit.c | |||
@@ -141,14 +141,13 @@ __ip_vs_get_out_rt_v6(struct ip_vs_conn *cp) | |||
141 | NULL, &fl); | 141 | NULL, &fl); |
142 | if (!rt) { | 142 | if (!rt) { |
143 | spin_unlock(&dest->dst_lock); | 143 | spin_unlock(&dest->dst_lock); |
144 | IP_VS_DBG_RL("ip6_route_output error, " | 144 | IP_VS_DBG_RL("ip6_route_output error, dest: %p6\n", |
145 | "dest: " NIP6_FMT "\n", | 145 | &dest->addr.in6); |
146 | NIP6(dest->addr.in6)); | ||
147 | return NULL; | 146 | return NULL; |
148 | } | 147 | } |
149 | __ip_vs_dst_set(dest, 0, dst_clone(&rt->u.dst)); | 148 | __ip_vs_dst_set(dest, 0, dst_clone(&rt->u.dst)); |
150 | IP_VS_DBG(10, "new dst " NIP6_FMT ", refcnt=%d\n", | 149 | IP_VS_DBG(10, "new dst %p6, refcnt=%d\n", |
151 | NIP6(dest->addr.in6), | 150 | &dest->addr.in6, |
152 | atomic_read(&rt->u.dst.__refcnt)); | 151 | atomic_read(&rt->u.dst.__refcnt)); |
153 | } | 152 | } |
154 | spin_unlock(&dest->dst_lock); | 153 | spin_unlock(&dest->dst_lock); |
@@ -167,8 +166,8 @@ __ip_vs_get_out_rt_v6(struct ip_vs_conn *cp) | |||
167 | 166 | ||
168 | rt = (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); | 167 | rt = (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); |
169 | if (!rt) { | 168 | if (!rt) { |
170 | IP_VS_DBG_RL("ip6_route_output error, dest: " | 169 | IP_VS_DBG_RL("ip6_route_output error, dest: %p6\n", |
171 | NIP6_FMT "\n", NIP6(cp->daddr.in6)); | 170 | &cp->daddr.in6); |
172 | return NULL; | 171 | return NULL; |
173 | } | 172 | } |
174 | } | 173 | } |
@@ -301,8 +300,8 @@ ip_vs_bypass_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, | |||
301 | 300 | ||
302 | rt = (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); | 301 | rt = (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); |
303 | if (!rt) { | 302 | if (!rt) { |
304 | IP_VS_DBG_RL("ip_vs_bypass_xmit_v6(): ip6_route_output error, " | 303 | IP_VS_DBG_RL("ip_vs_bypass_xmit_v6(): ip6_route_output error, dest: %p6\n", |
305 | "dest: " NIP6_FMT "\n", NIP6(iph->daddr)); | 304 | &iph->daddr); |
306 | goto tx_error_icmp; | 305 | goto tx_error_icmp; |
307 | } | 306 | } |
308 | 307 | ||