On Fri, Jun 15, 2012 at 04:13:47PM -0400, Robert Story wrote:
> On Tue, 12 Jun 2012 21:56:55 +0200 Niels wrote:
> NB> The server in question has only 8 active network interfaces, but 
> NB> experimentations with network setup (subinterfaces, vlans) makes the 
> NB> ifindex grow when interfaces are removed and re-created
> 
> Which OS?

Debian 6.0.4

> NB> [...]  I think 
> NB> that we maybe also should do something to reuse ifindex values if a 
> NB> network interface to deleted and later recreated, which I don't think 
> NB> the kernel will do.
> 
> I think we should keep in sync with the kernel.

Given that the kernel uses an int, and we use a byte, and the kernel
does not reuse indices, this is bound to fail.

> NB> Does this warrant a fix for all the current pre and rc releases?
> 
> We should certainly fix the crash.. Unless we have a better work around, I'd
> suggest we just ignore values > 256 and use LOG_ONCE to log a warning.

This means for the server in question it would ignore most interfaces.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to