]> git.meshlink.io Git - utcp/commit
Prevent FIN bit from being sent too early.
authorGuus Sliepen <guus@meshlink.io>
Mon, 8 Dec 2014 15:18:30 +0000 (16:18 +0100)
committerGuus Sliepen <guus@meshlink.io>
Mon, 8 Dec 2014 15:18:30 +0000 (16:18 +0100)
commit387d0814ba7ede1246e00f95912c5256c8d59e08
treec2eb8bcc7e168c6e4ef425f51c62b2831b82c95a
parent8a88641dabba117eebcee8270e483fb30e24fe76
Prevent FIN bit from being sent too early.

Due to a logic bug in ack(), the FIN bit could be set on a too early packet,
if utcp_shutdown() was called with a full send buffer.
utcp.c