mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: gj@pointblue.com.pl
To: linux-kernel@vger.kernel.org
Subject: strange issues with simple net module for 2.4
Date: Wed, 2 Aug 2006 00:52:03 +0200 (CEST)	[thread overview]
Message-ID: <32831.83.29.18.163.1154472723.squirrel@83.29.18.163> (raw)

/* Please do CC me on replies, I am not subscribed to the list. */

hi devs

I have spend some time, and wrote very simple NET device module for 2.4
kernels. It does allocate certain number of paired net interfaces named
tola%d , where for instance:
tola(N*2)<->tola(N*2)+1

anything you send to tola0, appears on tola1, and the other way around,
same for all Ns.

http://podgorze.pl/~gj/tola.tar.bz2
(~2kb)

there are few issues however.
First of all, I am not able to allocate more than 50 pairs (the param is
at the top of the source - int nrofi; ). Secondly, every once in a while
it crashes badly on unload, and frankly - I have no idea why.

Once again, this is 2.4.X module! The reason being, we are using here only
2.4 series for networking for various reasons that I don't want to get
into now.
I do appriciate any help or hints regarding this module please.




             reply	other threads:[~2006-08-01 22:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 22:52 gj [this message]
2006-08-02 18:00 ` Stephen Hemminger

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=32831.83.29.18.163.1154472723.squirrel@83.29.18.163 \
    --to=gj@pointblue.com.pl \
    --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®