version 1.4, 2022/07/11 15:59:42
|
version 1.5, 2022/07/11 16:14:43
|
Line 88 fwsync_state_handler(const void *arg)
|
Line 88 fwsync_state_handler(const void *arg)
|
|
|
mtx_lock(&fws_mtx_c); |
mtx_lock(&fws_mtx_c); |
|
|
p = malloc(sizeof(struct fws_proto), M_FWSYNC, M_NOWAIT | M_ZERO); | p = malloc(sizeof(struct fws_sndpkt), M_FWSYNC, M_NOWAIT | M_ZERO); |
if (!p) { |
if (!p) { |
mtx_unlock(&fws_mtx_c); |
mtx_unlock(&fws_mtx_c); |
return 0; |
return 0; |
Line 141 fwsync_alias_handler(const void *arg)
|
Line 141 fwsync_alias_handler(const void *arg)
|
|
|
mtx_lock(&fws_mtx_c); |
mtx_lock(&fws_mtx_c); |
|
|
p = malloc(sizeof(struct fws_proto), M_FWSYNC, M_NOWAIT | M_ZERO); | p = malloc(sizeof(struct fws_sndpkt), M_FWSYNC, M_NOWAIT | M_ZERO); |
if (!p) { |
if (!p) { |
mtx_unlock(&fws_mtx_c); |
mtx_unlock(&fws_mtx_c); |
return 0; |
return 0; |