Legacy Networking | it isnt possible to clean up resource created with rtems_bsdnet_newproc (#17)

Trac Migrate (@tracmigrate) gitlab at rtems.org
Fri Jan 31 00:57:03 UTC 2025



Trac Migrate created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/issues/17



Original author: johill

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

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/issues/17
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250131/78237fef/attachment.htm>


More information about the bugs mailing list