svn commit: r213446 - projects/ofed/head/sys/netinet

Jeff Roberson jeff at FreeBSD.org
Tue Oct 5 07:19:37 UTC 2010


Author: jeff
Date: Tue Oct  5 07:19:37 2010
New Revision: 213446
URL: http://svn.freebsd.org/changeset/base/213446

Log:
   - Support IB arp headers in the generic arp code.
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas

Modified:
  projects/ofed/head/sys/netinet/if_ether.c

Modified: projects/ofed/head/sys/netinet/if_ether.c
==============================================================================
--- projects/ofed/head/sys/netinet/if_ether.c	Tue Oct  5 07:19:01 2010	(r213445)
+++ projects/ofed/head/sys/netinet/if_ether.c	Tue Oct  5 07:19:37 2010	(r213446)
@@ -423,7 +423,8 @@ arpintr(struct mbuf *m)
 	if (ntohs(ar->ar_hrd) != ARPHRD_ETHER &&
 	    ntohs(ar->ar_hrd) != ARPHRD_IEEE802 &&
 	    ntohs(ar->ar_hrd) != ARPHRD_ARCNET &&
-	    ntohs(ar->ar_hrd) != ARPHRD_IEEE1394) {
+	    ntohs(ar->ar_hrd) != ARPHRD_IEEE1394 &&
+	    ntohs(ar->ar_hrd) != ARPHRD_INFINIBAND) {
 		log(LOG_ERR, "arp: unknown hardware address format (0x%2D)\n",
 		    (unsigned char *)&ar->ar_hrd, "");
 		m_freem(m);


More information about the svn-src-projects mailing list