Re: Programmatically Creating VLAN in the Kernel

2015-04-03 Thread Gleb Smirnoff
On Mon, Mar 30, 2015 at 09:49:56AM -0400, Juan Mojica wrote: J> I'm trying to programmatically create a VLAN in the kernel via ifioctl, but J> I'm hitting a "copyin" in the ioctl path, and since the address I'm passing J> in is a kernel address and not a user space address, the copyin is failing. J

Programmatically Creating VLAN in the Kernel

2015-03-30 Thread Juan Mojica
I'm trying to programmatically create a VLAN in the kernel via ifioctl, but I'm hitting a "copyin" in the ioctl path, and since the address I'm passing in is a kernel address and not a user space address, the copyin is failing. Calling the ioctl from user space is a non-starter at this point, and