[PATCH 0/3] dev: Fix network device ifindex allocation

2017-06-16 Thread Serhey Popovych
There are some problems with network device ifindex handling in the core and veth driver. * Network device index (ifindex) is signed int, but only values > 0 consodered to be valid. However it is possible for userspace to supply negative ifindex value using following command: # ip link

Re: ifIndex allocation

2006-05-16 Thread Stephen Hemminger
On Tue, 16 May 2006 08:11:01 +0200 Sven Schnelle [EMAIL PROTECTED] wrote: Hi List, Redirecting to netdev investigating a problem with an snmp software for linux, i was wondering why the kernel allocates a new ifindex Number, even if the old one is still available. For example, if i unload