patch-1.3.42 linux/net/ax25/af_ax25.c

Next file: linux/net/core/dev.c
Previous file: linux/net/Changes
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -661,7 +661,7 @@
 						return dev;
 					break;
 				case ARPHRD_ETHER:
-					if (arp_query((unsigned char *)&dev_addr, dev->pa_addr, ARPHRD_AX25))
+					if (arp_query((unsigned char *)&dev_addr, dev->pa_addr, dev))
 						if (ax25cmp(addr, &dev_addr) == 0)
 							return dev;
 					break;
@@ -1669,7 +1669,7 @@
 
 	skb->sk = NULL;		/* Initially we don't know who its for */
 
-	if (!arp_query((unsigned char *)&port_call, dev->pa_addr, ARPHRD_AX25)) {
+	if (!arp_query((unsigned char *)&port_call, dev->pa_addr, dev)) {
 		kfree_skb(skb, FREE_READ);	/* We have no port callsign */
 		return 0;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this