Skip to content

Commit

Permalink
controller: Disable inactivity probe for statctrl
Browse files Browse the repository at this point in the history
The inactivity probe was disabled for all connections
over unix socket [0]. However, the statctrl connection
wasn't updated by this patch. Remove the inactivity probe
from statctrl connection as well.

[0] c16e5da ("controller: disable OpenFlow inactivity probing")
Signed-off-by: Ales Musil <amusil@redhat.com>
Acked-by: Vladislav Odintsov <odivlad@gmail.com <mailto:odivlad@gmail.com>>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
almusil authored and putnopvut committed Nov 20, 2023
1 parent 0224e45 commit ae63212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/statctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ statctrl_thread_handler(void *arg)
struct statctrl_ctx *ctx = arg;

/* OpenFlow connection to the switch. */
struct rconn *swconn = rconn_create(5, 0, DSCP_DEFAULT,
struct rconn *swconn = rconn_create(0, 0, DSCP_DEFAULT,
1 << OFP15_VERSION);

while (!latch_is_set(&ctx->exit_latch)) {
Expand Down

0 comments on commit ae63212

Please sign in to comment.