l4p/tcp: Fix clearing rx queue w/ private streams 75/33875/1
authorBen Magistro <[email protected]>
Tue, 28 Sep 2021 17:24:12 +0000 (17:24 +0000)
committerBen Magistro <[email protected]>
Tue, 28 Sep 2021 17:24:12 +0000 (17:24 +0000)
commit940d8a82b96ccba31f0664a6d4ae5f510ce1d44f
tree78fb6809245d85a3f3add251988c15dccc796517
parent1e02b8666c6f2ce9beff085eabc7f73cc421de91
l4p/tcp: Fix clearing rx queue w/ private streams

When using private streams, any remaining data in the rx queue for the
stream is not cleared when the stream is closed. When the stream is then
reused, this remaining data is added to the new stream.

Signed-off-by: Ben Magistro <[email protected]>
Change-Id: I8ed221ed886db0fc4858f10d4682c147cc3ad92c
lib/libtle_l4p/tcp_ctl.h