patch-2.3.14 linux/net/ipv6/reassembly.c

Next file: linux/net/ipv6/route.c
Previous file: linux/net/ipv6/ndisc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/ipv6/reassembly.c linux/net/ipv6/reassembly.c
@@ -74,7 +74,7 @@
 	struct in6_addr		daddr;
 	struct timer_list	timer;		/* expire timer		*/
 	struct ipv6_frag	*fragments;
-	struct device		*dev;
+	struct net_device		*dev;
 	int			iif;
 	__u8			last_in;	/* has first/last segment arrived? */
 #define FIRST_IN		2
@@ -228,7 +228,7 @@
 	   (fixed --ANK (980728))
 	 */
 	if (fq->last_in&FIRST_IN) {
-		struct device *dev = dev_get_by_index(fq->iif);
+		struct net_device *dev = dev_get_by_index(fq->iif);
 
 		/*
 		   But use as source device on which LAST ARRIVED

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