[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101118.080139.193717791.davem@davemloft.net>
Date: Thu, 18 Nov 2010 08:01:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: daniel.turull@...il.com, netdev@...r.kernel.org, voravit@....se,
robert@...julf.net
Subject: Re: [PATH] dev: reusing unregistered ifindex values in net_device
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 18 Nov 2010 16:37:08 +0100
> Two bugs
>
> 1) ifindex is not initialized : you'll be suprised of random values
>
> 2) ifindex should not be reused. You'll be surprised so applications can
> break. SNMP comes to mind.
Right, the current algorithm is intentionally trying to avoid new
devices from using indexes that were used by another device in the
past.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists