• Adam Wujek's avatar
    userspace/wrsw_rtud: fix double locking a shmem on write · 2305ff10
    Adam Wujek authored
    Remove excessive locks from the function delete_htab_entry.
    Function rtu_fd_commit is always guarded with shmem lock. The function
    rtu_fd_commit calls rtu_hw_commit, which calls delete_htab_entry. By this
    function wrs_shm_write with a parameter WRS_SHM_WRITE_BEGIN was called twice
    before it was called twice with a parameter WRS_SHM_WRITE_END.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    2305ff10
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Kconfig_vlans.in Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...