Brain:
I have succeeded in sending and receiving packets
between two host(both with the kernel of 2.2.14-5.0) based on NPI, but met the
mistake when sending more packets at the "sending end".
I sended one packet per 20ms, and met the mistake when
the total packets had reached about 15000. The system put the following
message:
*********
__bufq_add: assure(q->q_head) failed at sctp_bufq.h +97
__bufq_add: assure(q->q_tail) failed at sctp_bufq.h +98
Unable to handle kernel NULL pointer dereference at virtual address
00000000
current->tss.cr3 = 0e760000,%cr3 = 0e760000
*pde = 00000000
Oops: 0000
CPU: 0
...
*********
The sending and receiving programs are in the
attachment named with "test-sd.c" and "test-rv.c". The two are both based on
test-sctp_n.c
By the way, could you tell me the transmission ability
of the SCTP, such as how fast can one packet be sent. Is 1ms enougth?
thank you!
yanxinyu
|
Attachment:
Test-sd.c
Description: Binary data
Attachment:
Test-rv.c
Description: Binary data