strange issues with simple net module for 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



/* 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux