Patch against linux/net/ipv4/arp.c to accept ARP's with HW Type of 1 from
IEEE802 devices (specifically, Fibre Channel devices). This has been tested
with linux-2.4.0-test9 and linux-2.4.0-test12.
---
diff -u arp.c~ arp.c
--- arp.c~ Tue Oct 3 09:24:41 2000
+++ arp.c Wed Dec 20 16:05:36 2000
@@ -647,6 +647,20 @@
goto out;
break;
#endif
+#ifdef CONFIG_NET_FC
+ case ARPHRD_IEEE802:
+ /*
+ * According to RFC 2625, Fibre Channel devices (which are IEEE
+ * 802 devices) should accept ARP hardware types of 6 (IEEE
802)
+ * and 1 (Ethernet).
+ */
+ if (arp->ar_hrd != __constant_htons(ARPHRD_ETHER) &&
+ arp->ar_hrd != __constant_htons(ARPHRD_IEEE802))
+ goto out;
+ if (arp->ar_pro != __constant_htons(ETH_P_IP))
+ goto out;
+ break;
+#endif
#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
case ARPHRD_AX25:
if (arp->ar_pro != __constant_htons(AX25_P_IP))
|