This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-TCPnet ping of death

The RL-ARM 3.40 TCP/IP stack TCPnet crashes with a BIG ping;

ping -t -l 1500 10.10.10.173

Crashes my MCB2300 board with TCPnet from RL-ARM 3.40. Is this a ping of death example? How can I fix this?

Parents
  • It depends on the memory pool size. When this pool size is the default 8000, a ping with 1472 bytes works, but 1473 gives no reaction. But the board doesn't crash :-) When I lower the memory pool size to the minimum 1500 a ping with 1000 bytes 'hangs' the TCP/IP stack (no reaction anymore). The complete board crash was caused by a bug in my tcp_send routine... (I used my own buffer).

    Thanks

Reply
  • It depends on the memory pool size. When this pool size is the default 8000, a ping with 1472 bytes works, but 1473 gives no reaction. But the board doesn't crash :-) When I lower the memory pool size to the minimum 1500 a ping with 1000 bytes 'hangs' the TCP/IP stack (no reaction anymore). The complete board crash was caused by a bug in my tcp_send routine... (I used my own buffer).

    Thanks

Children
No data