lkml.org 
[lkml]   [2006]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectstrange issues with simple net module for 2.4
From
/* 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.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-02 00:55    [W:0.086 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site