#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:
Blocking:

Description

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 Mar 31, 2012 at 11:58:34 AM by Gedare Bloom

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

Joel;
Is the new stack likely to fix this?

comment:2 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

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

comment:3 Changed on Dec 19, 2014 at 4:38:14 AM by Gedare Bloom

Milestone: 4.114.11.1

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

comment:4 Changed on Jan 26, 2017 at 7:16:00 AM by Sebastian Huber

Milestone: 4.11.14.11.2

comment:5 Changed on Feb 15, 2017 at 1:37:51 PM 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.