[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 5] Re: pvc subinterfaces and mrouted




George Uhl <uhl@mamba-e.gsfc.nasa.gov> said:
>> I have several PCs configured with ATM pvc subinterfaces.
>> mrouted fails to start on any of them.  While attempting
>> to join both the DVMRP and ALL_ROUTERS muticast groups
>> over the vifs assigned to the pvc subinterfaces, mrouted
>> delivers a ENOBUFS error for each. This is not a problem 
>> for ethernet interfaces. Any ideas?

Oops!  Isn't it EINVAL for the MRT_ADD_VIF ioctl instead of ENOBUFS?
I forgot to allow the en driver to change if_flags in altq-1.2...

Could you try the following patch for "dev/en/midway.c"?

--Kenjiro

--- midway.c-	Fri May 21 23:58:11 1999
+++ midway.c	Sat May 22 00:02:27 1999
@@ -1261,7 +1261,11 @@
 		break;
 
 	case SIOCSIFFLAGS: 
+#ifdef ATM_PVCEXT
+	  	/* point-2-point pvc is allowed to change if_flags */
+#else
 		error = EINVAL;
+#endif
 		break;
 
 #if defined(SIOCSIFMTU)		/* ??? copied from if_de */