Notice: We have migrated to GitLab launching 2024-05-01 see here:

#2047 assigned defect

it isnt possible to clean up resource created with rtems_bsdnet_newproc

Reported by: Jeffrey Hill Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: network/legacy Version: 4.11
Severity: minor Keywords:
Cc: gedare@… Blocked By:


I observer that we can create a thread, and a data structure, with rtems_bsdnet_newproc, but after this thread exits we have no way to clean up the resources allocated by rtems_bsdnet_newproc.

Furthermore, perhaps rtems_bsdnet_newproc should return an error, and not panic if unsuccessful.

Furthermore, rtems_bsdnet_newproc should probably check the return from malloc in case it is nill, and respond appropriate (by returning an error condition).

Change History (5)

comment:1 Changed on 03/31/12 at 11:58:34 by Gedare Bloom

Cc: Gedare Bloom added
Owner: changed from Eric Norum to Joel Sherrill

Is the new stack likely to fix this?

comment:2 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

comment:3 Changed on 12/19/14 at 04:38:14 by Gedare Bloom


Bump milestone to 4.11.1 in case no patch exists and PR seems delayable.

comment:4 Changed on 01/26/17 at 07:16:00 by Sebastian Huber


comment:5 Changed on 02/15/17 at 13:37:51 by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: changed from Joel Sherrill to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.