[Bug 2047] New: it isnt possible to clean up resource created with rtems_bsdnet_newproc

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sat Mar 31 01:01:51 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2047

             Bug #: 2047
           Summary: it isnt possible to clean up resource created with
                    rtems_bsdnet_newproc
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: minor
          Priority: P3
         Component: networking
        AssignedTo: norume at aps.anl.gov
        ReportedBy: johill at lanl.gov


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).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list