Skip to content

Commit

Permalink
teamd: workq: add workq callback at the end of lcb list
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
  • Loading branch information
jpirko committed Jul 24, 2013
1 parent 51728e4 commit e4aa9e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions teamd/teamd_workq.c
Expand Up @@ -69,10 +69,10 @@ int teamd_workq_init(struct teamd_context *ctx)
ctx->workq.pipe_r = fds[0];
ctx->workq.pipe_w = fds[1];

err = teamd_loop_callback_fd_add(ctx, WORKQ_CB_NAME, ctx,
teamd_workq_callback_socket,
ctx->workq.pipe_r,
TEAMD_LOOP_FD_EVENT_READ);
err = teamd_loop_callback_fd_add_tail(ctx, WORKQ_CB_NAME, ctx,
teamd_workq_callback_socket,
ctx->workq.pipe_r,
TEAMD_LOOP_FD_EVENT_READ);
if (err) {
teamd_log_err("Failed add workq callback.");
goto close_pipe;
Expand Down

0 comments on commit e4aa9e1

Please sign in to comment.