[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-disclosure] ifIndex overflow (Linux Kernel - net/core/dev.c) [maybe offtopic]



On Thu, 07 Feb 2013 20:28:31 +0100, Daniel Preussker said:
> I was looking into the net/core/dev.c from the current Kernel (previous
> also have this) and found out that ifIndex gets incremented by an
> endless loop.
>
> After creating 4 billion pseudo-eth devices I finally got it to overflow
> and endless loop, had to kill the kernel - fun right?

I wonder what /proc/slabinfo and related memory statistics looked like after
3.9 billion devices created.  You'll need a fairly beefy box to roll that
counter without OOM'ing the kernel first.


Attachment: pgpxRBOiMuywN.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/