• 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
..
Documentation Loading commit data...
patches/2.6.35 Loading commit data...
COPYING Loading commit data...
Doxyfile Loading commit data...
Makefile Loading commit data...
README Loading commit data...
TODO Loading commit data...
rtu.h Loading commit data...
rtu_drv.c Loading commit data...
rtu_drv.h Loading commit data...
rtu_ext_drv.c Loading commit data...
rtu_ext_drv.h Loading commit data...
rtu_fd.c Loading commit data...
rtu_fd.h Loading commit data...
rtu_hash.c Loading commit data...
rtu_hash.h Loading commit data...
rtud.c Loading commit data...
rtud_exports.c Loading commit data...
rtud_exports.h Loading commit data...
utils.c Loading commit data...
utils.h Loading commit data...
wr_rtu.h Loading commit data...