svn commit: r304375 - stable/10/sys/dev/ntb/if_ntb

Alexander Motin mav at FreeBSD.org
Thu Aug 18 10:23:52 UTC 2016


Author: mav
Date: Thu Aug 18 10:23:51 2016
New Revision: 304375
URL: https://svnweb.freebsd.org/changeset/base/304375

Log:
  MFC r302014: Fix if_ntb interface setup to include IFF_MULTICAST.
  
  This allows IPv6 link local addresses (and other IPv6 functionality) to work.

Modified:
  stable/10/sys/dev/ntb/if_ntb/if_ntb.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- stable/10/sys/dev/ntb/if_ntb/if_ntb.c	Thu Aug 18 10:18:11 2016	(r304374)
+++ stable/10/sys/dev/ntb/if_ntb/if_ntb.c	Thu Aug 18 10:23:51 2016	(r304375)
@@ -432,7 +432,7 @@ ntb_setup_interface(void)
 	    &handlers);
 	ifp->if_init = ntb_net_init;
 	ifp->if_softc = &net_softc;
-	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
+	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 	ifp->if_ioctl = ntb_ioctl;
 	ifp->if_start = ntb_start;
 	IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);


More information about the svn-src-all mailing list