[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
System halt when out of network buffers
- Date: Wed, 19 Jan 2000 15:22:26 -0000
- From: Nick.SIMON at syntegra.bt.co.uk (Nick.SIMON at syntegra.bt.co.uk)
- Subject: System halt when out of network buffers
Dear chaps,
rtems_glue.c kmem_malloc contains:
if (networkDaemonTid) {
if (waitflag == M_WAITOK)
rtems_panic (
"Network mbuf space can not be enlarged after rtems_bsdnet_initialize()
has\n"
"returned. Enlarge the initial mbuf/cluster size in rtems_bsdnet_config.");
return 0;
}
This means that if the network throws lots of data at us, we stop. This is
quite easily done to my 50MHz mpc860 board using ping -f.
It would be better to lose packets than to croak - has anyone crossed this
bridge already? Comments, patches etc. gratefully received.
TIA
-- Nick Simon