This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Account for alloca use when collecting interface addresses


Siddhesh Poyarekar <siddhesh@redhat.com> writes:

> On Mon, Mar 24, 2014 at 03:04:23PM +0100, Andreas Schwab wrote:
>> # ip li add name dummy0 type dummy
>> # site_id=$(head -c6 /dev/urandom | od -tx2 -An | tr ' ' ':')
>> # for ((i = 0; i < 65536; i++)) do
>> > ip ad ad $(printf fd80$site_id::%04x $i)/128 dev dummy0
>> > done
>> # (ulimit -s 900; getent ahosts localhost)
>> # ip li de dummy0
>
> This needs a more verbose description for the commit log.

It's just the reproducer, you can try yourself without breaking anything
(unless you already have a dummy0 device).

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]