Skip to content

Commit 24d6810

Browse files
Update ff_hook_syscall.c
1 parent 930bdd0 commit 24d6810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adapter/syscall/ff_hook_syscall.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ ff_hook_setsockopt(int fd, int level, int optname,
642642
RETURN_ERROR_NOFREE(ENOMEM);
643643
}
644644
}
645+
646+
rte_memcpy(sh_optval, optval, optlen);
645647
}
646648

647649
args->fd = fd;

0 commit comments

Comments
 (0)