From b5e55a27a46f166f466c7996675542de645eff66 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 10 Jan 2019 12:42:47 -0800 Subject: session: generate wrong thread errors instead of crashing Change-Id: I7e59ae718d2722c49d42b22a0874e1645a191e89 Signed-off-by: Florin Coras --- src/vnet/tcp/tcp_error.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/tcp/tcp_error.def') diff --git a/src/vnet/tcp/tcp_error.def b/src/vnet/tcp/tcp_error.def index 141ca515995..0d6c44b5402 100644 --- a/src/vnet/tcp/tcp_error.def +++ b/src/vnet/tcp/tcp_error.def @@ -13,6 +13,8 @@ * limitations under the License. */ tcp_error (NONE, "no error") +tcp_error (WRONG_THREAD, "Wrong worker thread") +tcp_error (FILTERED, "Packets filtered") tcp_error (LENGTH, "inconsistent ip/tcp lengths") tcp_error (NO_LISTENER, "no listener for dst port") tcp_error (LOOKUP_DROPS, "lookup drops") @@ -40,7 +42,6 @@ tcp_error (INVALID_CONNECTION, "Invalid connection") tcp_error (CONNECTION_CLOSED, "Connection closed") tcp_error (CREATE_EXISTS, "Connection already exists") tcp_error (PUNT, "Packets punted") -tcp_error (FILTERED, "Packets filtered") tcp_error (OPTIONS, "Could not parse options") tcp_error (PAWS, "PAWS check failed") tcp_error (RCV_WND, "Segment not in receive window") -- cgit 1.2.3-korg