Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromlist] net: mgmt: Protect processing of iface data #1658

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

ajayparida
Copy link
Contributor

Use lock while accessing iface data.
One of the use case is while setting regulatory, it access iface info, while from some other place also it can be accessed. Protected the data processing.

Upstream PR: zephyrproject-rtos/zephyr#71737

@ajayparida ajayparida force-pushed the lock_wifi_iface_data branch 2 times, most recently from 2aefc1d to 63988b5 Compare April 24, 2024 08:50
Use lock while accessing nm data.
One of the use case is while setting regulatory, it accesses nm data,
while from some other place also it can be accessed same time.
Protected the nm data processing.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit b930026)
The function should return NULL instead of false in case of failure.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit 02f4e71)
@ajayparida ajayparida force-pushed the lock_wifi_iface_data branch from 63988b5 to d1e828c Compare April 25, 2024 07:27
@gmarull gmarull merged commit 2ef7c81 into nrfconnect:main Apr 25, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants