ipv6: drop unused "dev" arg of icmpv6_send()
[deliverable/linux.git] / net / netfilter / ipvs / ip_vs_core.c
index 72e96d823ebfcbb00c85425e63776302c9c28b20..44590887a92cfdfb7ed662d47b532456d68ceb3d 100644 (file)
@@ -515,8 +515,7 @@ int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb,
         */
 #ifdef CONFIG_IP_VS_IPV6
        if (svc->af == AF_INET6)
-               icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0,
-                           skb->dev);
+               icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0);
        else
 #endif
                icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0);
@@ -1048,7 +1047,7 @@ ip_vs_out(unsigned int hooknum, struct sk_buff *skb,
                                                icmpv6_send(skb,
                                                            ICMPV6_DEST_UNREACH,
                                                            ICMPV6_PORT_UNREACH,
-                                                           0, skb->dev);
+                                                           0);
                                        else
 #endif
                                                icmp_send(skb,
This page took 0.042341 seconds and 5 git commands to generate.