mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* strange issues with simple net module for 2.4
@ 2006-08-01 22:52 gj
  2006-08-02 18:00 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: gj @ 2006-08-01 22:52 UTC (permalink / raw)
  To: linux-kernel

/* 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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-02 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-01 22:52 strange issues with simple net module for 2.4 gj
2006-08-02 18:00 ` Stephen Hemminger

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®