Re: [Vtun-devel] IOCTL problems on linux-2.4.14
Status: Inactive
Brought to you by:
mtbishop
|
From: Helge J. <je...@sl...> - 2001-10-23 06:41:19
|
Thanks for your reply. It worked. Is it correct, that basically the problem is, that the vtun module (or something) has it's own code for trying to guess a device "sub-number" (ex: tun0), but it call's dev_alloc_name, which requires a "%d" in the name to allocate it? Guus Sliepen wrote: > On Mon, Oct 22, 2001 at 04:24:28PM +0200, Helge Jensen wrote: > > >>I tried to install vtun on a stock linux-2.4.14 kernel, and have hit >>IOCTL problems. I have ploughed throug both vtun-devel and vtun-users >>but it does not seem (to me) that I am hitting the IOCTL problems >>described on vtun-devel.... >> > [...] > >>Has anyone got any idea about how i should go about debugging this, >>short of inserting printk lines in linux-2.4.14/drivers/net/tun.c ? >> > > Where did you find linux-2.4.14? Or are you some kind of time-traveller > :)? > > Anyway, could you try to apply the attached patch to the real culprit, > linux/net/core/dev.c? I tested it agains 2.4.12, which is the latest > kernel according to kernel.org. |