Re: [Vtun-devel] Can't allocate tun device. Invalid argument(22)
Status: Inactive
Brought to you by:
mtbishop
|
From: SLOGEN <je...@sl...> - 2001-10-24 07:54:17
|
Tom Murphy wrote: > Hi all, > I'm having the same problem Helge Jensen is having. > I even symlinked /usr/include/linux -> /usr/src/linux/include/linux > and /usr/include/asm -> /usr/src/linux/include/asm. > > I'm running 2.4.12-ac5, and I get: > > vtund[10010]: Can't allocate tun device. Invalid argument(22) > > The compilation of 2.5b1 went fine without any errors. > > Is there a fix or a patch for this? That was posted earlier on the list, by Guus Sliepen, it worked just fine for me. I have attached the patch to this mail as well. The patch should be applied to linux/net/core/dev.c (Dont ask me why dev_alloc_name is defined in there, it has nothing with networking to do!) -- Helge Jensen |