patch-2.3.14 linux/net/ipv4/icmp.c

Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/ipv4/fib_semantics.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/ipv4/icmp.c linux/net/ipv4/icmp.c
@@ -935,7 +935,7 @@
 static void icmp_address_reply(struct icmphdr *icmph, struct sk_buff *skb, int len)
 {
 	struct rtable *rt = (struct rtable*)skb->dst;
-	struct device *dev = skb->dev;
+	struct net_device *dev = skb->dev;
 	struct in_device *in_dev = dev->ip_ptr;
 	struct in_ifaddr *ifa;
 	u32 mask;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)