Re: [Vtun-devel] IOCTL problems on linux-2.4.14
Status: Inactive
Brought to you by:
mtbishop
|
From: Guus S. <gu...@sl...> - 2001-10-23 08:12:27
|
On Tue, Oct 23, 2001 at 08:41:07AM +0200, Helge Jensen wrote: > Is it correct, that basically the problem is, that the vtun module (or=20 > something) has it's own code for trying to guess a device "sub-number"=20 > (ex: tun0), but it call's dev_alloc_name, which requires a "%d" in the=20 > name to allocate it? The tun module does not try anything, it blindly copies the name from the struct ifreq you give it to dev_alloc(), which in turn passes it to dev_alloc_name(). Older kernels didn't really check for the presence of %d in the name, so it would work anyway. --=20 Met vriendelijke groet / with kind regards, Guus Sliepen <gu...@sl...> |