mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: clowncoder <vincent-perrier@club-internet.fr>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Nework Emulation with UML, bug 8895
Date: Sat, 23 Feb 2008 14:04:18 +0100	[thread overview]
Message-ID: <47C019D2.4060308@club-internet.fr> (raw)

Hello,
You can have a configured and running network inside a single linux machine,
only one script command is enough. After the start of all the machine, a
graphical representation of your topology helps your interactions with
the network. This virtual network can be downloaded at http://clownix.net,
I must warn you, it is a 350mega bz2 file-system that needs 4 giga on 
the host.
Very usefull for networking development in kernel as proved by bug 8895
that has been found with the above tool:

The uncorrected bug 8895:

file:  /usr/src/linux-2.6.24.2/net/ipv6/ip6_fib.c  line  796:   
"dst_free(&rt->u.dst);"

------- /Comment From qmiao <mailto:qmiao@centecnetworks.com> 2007-08-29 
23:33:07 /---

        fib6_add
                ...

                if (fn->leaf == NULL) {
                        fn->leaf = rt;    <--**-- rt is assigned to fn->leaf
                        atomic_inc(&rt->rt6i_ref);
                }
                ...
                err = fib6_add_rt2node(fn, rt, info); <-**- return -EEXIST
                ...
(Here err was not null)
                ...
                if (err) {
                        ...
                        dst_free(&rt->u.dst); <--**-- Actually rt is still in
tree (fn->leaf = rt /* see above */)
                        ...
                        }



             reply	other threads:[~2008-02-23 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23 13:04 clowncoder [this message]
2008-02-25  0:17 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C019D2.4060308@club-internet.fr \
    --to=vincent-perrier@club-internet.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®