mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Patch from Eric Norum <eric@skatter.usask.ca> to fix a cryptic error
message after comments from Eric Valette <valette@crf.canon.fr>.
This commit is contained in:
@@ -699,7 +699,9 @@ kmem_malloc (vm_map_t *map, vm_size_t size, boolean_t waitflag)
|
||||
*/
|
||||
if (networkDaemonTid) {
|
||||
if (waitflag == M_WAITOK)
|
||||
rtems_panic ("Someone is asking for more memory");
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -699,7 +699,9 @@ kmem_malloc (vm_map_t *map, vm_size_t size, boolean_t waitflag)
|
||||
*/
|
||||
if (networkDaemonTid) {
|
||||
if (waitflag == M_WAITOK)
|
||||
rtems_panic ("Someone is asking for more memory");
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -699,7 +699,9 @@ kmem_malloc (vm_map_t *map, vm_size_t size, boolean_t waitflag)
|
||||
*/
|
||||
if (networkDaemonTid) {
|
||||
if (waitflag == M_WAITOK)
|
||||
rtems_panic ("Someone is asking for more memory");
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -699,7 +699,9 @@ kmem_malloc (vm_map_t *map, vm_size_t size, boolean_t waitflag)
|
||||
*/
|
||||
if (networkDaemonTid) {
|
||||
if (waitflag == M_WAITOK)
|
||||
rtems_panic ("Someone is asking for more memory");
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user