| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
net/local: rename NET_LOCAL_VFS_PATH to follow linux And skip same prefix for unix path Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
fix: Resolve mutex recursive lock deadlock in local socket release Problem Description: -The system encountered a recursive mutex lock deadlock -Call stack: local_release() -> local_subref() -> local_release() -The mutex was acquired in local_release() at line 61 -When local_subref() decremented reference count to 0, it called local_release() again, causing recursive deadlock Solution Implemented: Refactored local_release/local_addref/local_subref() to assume lock is already held issue backtrace: _assert (filename=0x2289e04 "semaphore/sem_wait.c" ... nxsem_wait_slow (sem=0x43a76cd8) at semaphore/sem_wait.c:102 nxmutex_wait (sem=<optimized out>) at ../include/nuttx/semaphore.h:540 nxmutex_lock (mutex=<optimized out>) at ../include/nuttx/mutex.h:420 local_lock () at ./local/local.h:219 local_release (conn=0x410285a0) at local/local_release.c:61 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_release (conn=0x41028200) at local/local_release.c:86 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_close (psock=<optimized out>) at local/local_sockif.c:912 psock_close (psock=0x4107a960) at socket/net_close.c:104 sock_file_close (filep=0x4107a900) at socket/socket.c:128 file_close (filep=filep@entry=0x4107a900) at vfs/fs_close.c:133 file_put (filep=0x4107a900) at inode/fs_files.c:893 fdlist_close (list=0x4102dad8, fd=fd@entry=1037) at inode/fs_files.c:996 nx_close (fd=fd@entry=1037) at vfs/fs_close.c:187 close (fd=1037) at vfs/fs_close.c:225 kvdb_unbind (fd=fd@entry=0x43a76fbc) at kvdb/server.c:311 kvdbd_main (argc=<optimized out>, argv=<optimized out>) at kvdb/server.c:622 Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/local: add local_lock to protect concurrent access to accept and connect Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/local: replace net_lock with local_lock Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
utils: Add conn_init/conn_uninit and replace direct s_lock ops Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net/local: remove extra lock to avoid deadlock Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/local: fix the return address is incorrect when accept Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/local: replace net_lock with local_lock Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
net/local: remove unnecessary filep2 and using same filep when duplicate When sending a file descriptor using a local socket, due to the new filep framework, fds across processes can share the same filep. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
fix: Resolve mutex recursive lock deadlock in local socket release Problem Description: -The system encountered a recursive mutex lock deadlock -Call stack: local_release() -> local_subref() -> local_release() -The mutex was acquired in local_release() at line 61 -When local_subref() decremented reference count to 0, it called local_release() again, causing recursive deadlock Solution Implemented: Refactored local_release/local_addref/local_subref() to assume lock is already held issue backtrace: _assert (filename=0x2289e04 "semaphore/sem_wait.c" ... nxsem_wait_slow (sem=0x43a76cd8) at semaphore/sem_wait.c:102 nxmutex_wait (sem=<optimized out>) at ../include/nuttx/semaphore.h:540 nxmutex_lock (mutex=<optimized out>) at ../include/nuttx/mutex.h:420 local_lock () at ./local/local.h:219 local_release (conn=0x410285a0) at local/local_release.c:61 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_release (conn=0x41028200) at local/local_release.c:86 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_close (psock=<optimized out>) at local/local_sockif.c:912 psock_close (psock=0x4107a960) at socket/net_close.c:104 sock_file_close (filep=0x4107a900) at socket/socket.c:128 file_close (filep=filep@entry=0x4107a900) at vfs/fs_close.c:133 file_put (filep=0x4107a900) at inode/fs_files.c:893 fdlist_close (list=0x4102dad8, fd=fd@entry=1037) at inode/fs_files.c:996 nx_close (fd=fd@entry=1037) at vfs/fs_close.c:187 close (fd=1037) at vfs/fs_close.c:225 kvdb_unbind (fd=fd@entry=0x43a76fbc) at kvdb/server.c:311 kvdbd_main (argc=<optimized out>, argv=<optimized out>) at kvdb/server.c:622 Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/local: remove unnecessary filep2 and using same filep when duplicate When sending a file descriptor using a local socket, due to the new filep framework, fds across processes can share the same filep. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
fix: Resolve mutex recursive lock deadlock in local socket release Problem Description: -The system encountered a recursive mutex lock deadlock -Call stack: local_release() -> local_subref() -> local_release() -The mutex was acquired in local_release() at line 61 -When local_subref() decremented reference count to 0, it called local_release() again, causing recursive deadlock Solution Implemented: Refactored local_release/local_addref/local_subref() to assume lock is already held issue backtrace: _assert (filename=0x2289e04 "semaphore/sem_wait.c" ... nxsem_wait_slow (sem=0x43a76cd8) at semaphore/sem_wait.c:102 nxmutex_wait (sem=<optimized out>) at ../include/nuttx/semaphore.h:540 nxmutex_lock (mutex=<optimized out>) at ../include/nuttx/mutex.h:420 local_lock () at ./local/local.h:219 local_release (conn=0x410285a0) at local/local_release.c:61 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_release (conn=0x41028200) at local/local_release.c:86 local_subref (conn=<optimized out>) at local/local_conn.c:411 local_close (psock=<optimized out>) at local/local_sockif.c:912 psock_close (psock=0x4107a960) at socket/net_close.c:104 sock_file_close (filep=0x4107a900) at socket/socket.c:128 file_close (filep=filep@entry=0x4107a900) at vfs/fs_close.c:133 file_put (filep=0x4107a900) at inode/fs_files.c:893 fdlist_close (list=0x4102dad8, fd=fd@entry=1037) at inode/fs_files.c:996 nx_close (fd=fd@entry=1037) at vfs/fs_close.c:187 close (fd=1037) at vfs/fs_close.c:225 kvdb_unbind (fd=fd@entry=0x43a76fbc) at kvdb/server.c:311 kvdbd_main (argc=<optimized out>, argv=<optimized out>) at kvdb/server.c:622 Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |