tcp: cleanup next nodes and drop logic 37/39037/2
authorFlorin Coras <fcoras@cisco.com>
Fri, 9 Jun 2023 03:47:11 +0000 (20:47 -0700)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 13 Jun 2023 12:50:38 +0000 (12:50 +0000)
commita175d8d8f7eebcdd54248238f4e7d962793653ba
treedfb61a25fa19409b2dc9d8c696c082ec9d39e367
parent8a5a6c51ee1c1bdbfbfcf1878784d0c32800255f
tcp: cleanup next nodes and drop logic

TCP nodes consume the buffers so they have no nexts. To avoid long drop
path through vlib graph, add drop node.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ibe6e075e83612ed16270934398c6a013f236ae35
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_input.c