Skip to content
Commit c1f82222 authored by Michael Scott's avatar Michael Scott Committed by Jukka Rissanen
Browse files

net: tcp: don't assume TCP_FIN buffers are NET_DROP



Since we default to a return value of NET_DROP, we
can remove the automatic NET_DROP in the TCP_FIN block.

The return value will be set to NET_OK by packet_received()
if appropriate data is found which needs to be sent to
the callback.

Change-Id: Ib2634ba34440ca7053a4e98bf80f12cf6fbbd361
Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
parent 29b7d9c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment