commit | e83adabb5d861028217a62a764b0309703511c23 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@nordicsemi.no> | Tue Feb 20 13:50:48 2024 +0200 |
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | Mon Feb 26 01:53:00 2024 +0000 |
tree | eacf32d130d6a8db05f081c323b6a005687b76ca | |
parent | 468eb56cf242eedba62006ee758700ee6148763f [diff] |
net: sockets: Do not start service thread if too little resources If the CONFIG_NET_SOCKETS_POLL_MAX is smaller than what is needed for the socket service API to work properly, then we should not start the service thread as the service API cannot work and might cause memory overwrite in ctx.events[] array. Fixes #69233 Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no> (cherry picked from commit ea189d5aeee1bfa728ecbc7818baa68d03d2a377)