Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cee83dd authored by Parthasarathy Bhuvaragan's avatar Parthasarathy Bhuvaragan Committed by David S. Miller
Browse files

tipc: fix stale links after re-enabling bearer



Commit 42b18f60 ("tipc: refactor function tipc_link_timeout()"),
introduced a bug which prevents sending of probe messages during
link synchronization phase. This leads to hanging links, if the
bearer is disabled/enabled after links are up.

In this commit, we send the probe messages correctly.

Fixes: 42b18f60 ("tipc: refactor function tipc_link_timeout()")
Acked-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6a74c196
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -721,7 +721,6 @@ int tipc_link_timeout(struct tipc_link *l, struct sk_buff_head *xmitq)
		mtyp = STATE_MSG;
		state = bc_acked != bc_snt;
		probe = l->silent_intv_cnt;
		if (probe)
		l->silent_intv_cnt++;
		break;
	case LINK_RESET: