Hi,
I have found what I am sure is an error in the Linux kernel. But I am very
less sure exactly where the error is because I know almost nothing about
how the kernel is structured. I have the following configuration:
+-----------------------------
| Linux machine 1 |
| |
| NIC with NE2000-PCI driver |
|--|-------------------------+
|
| <- 10BaseT crosscable
|
+--|-------------------------------------------------+
| NIC with DEPCA driver (eth1) |
| |
| Linux machine 2 configured |
| as an ethernet bridge |
| |
| NIC with DEPCA driver and with TBF attached (eth0) |
+--|-------------------------------------------------+
|
|
LAN
In this configuration I started an ftp program on machine 1 and tried to
transmit a file to a machine on the LAN. But that did not succed - I
could start the transfer but nothing was transmitted.
I then did an "tcpdump -e" on machine 1. I could see it was trying to
send ftp-data packets with the size 1514. When I did a tcpdump on machine
2 the same packets seemed to have the size 1518! The packets were not
seen on eth0. But if I either:
1) Removed the TBF que
2) Set mtu on machine 1 to f.x. 1400 (ifconfig eth0 mtu 1400)
everythning worked.
The following might be of interrest:
* The kernel is 2.2.10 on both machines
* I have set HZ to 200 on machine 2
* I have appended my own qdisc to the kernel on machine 2 as a module
but this test was performed on a fresh booted kernel where the module
had never been installled.
* The TBF queue was setup with "tc qdisc add dev eth0 root tbf rate 64Kbit
buffer 5Kb/8 limit 10Kb".
Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]