| 1540 | } |
| 1541 | |
| 1542 | static void send_commit_if_not_stfu(struct peer *peer) |
| 1543 | { |
| 1544 | if (!peer->stfu_sent[LOCAL]) { |
| 1545 | send_commit(peer); |
| 1546 | } else { |
| 1547 | /* Timer now considered expired, you can add a new one. */ |
| 1548 | peer->commit_timer = NULL; |
| 1549 | start_commit_timer(peer); |
| 1550 | } |
| 1551 | } |
| 1552 | |
| 1553 | static void start_commit_timer(struct peer *peer) |
| 1554 | { |
nothing calls this directly
no test coverage detected