tcp: add option to punt traffic 48/8448/4
authorPierre Pfister <ppfister@cisco.com>
Wed, 20 Sep 2017 06:48:36 +0000 (08:48 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 20 Sep 2017 13:43:36 +0000 (13:43 +0000)
commit7fe51f3e3e80ed6ffe989df1c6963527166afc25
tree4b007227cfb4949066901cbaca6a1158e235303a
parent440751b91804947a7c9b533570531cac79629016
tcp: add option to punt traffic

Until now, if the stack didn't find a connection for a packet, it sent
back a reset. With the punt option enabled, packets are now enqueued to
error-punt where they can be handed off to the host os.

Change-Id: I12dea8694b8bd24c92b0d601412928aa7b8046cb
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vnet/ip/punt.c
src/vnet/tcp/tcp.c
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_error.def
src/vnet/tcp/tcp_input.c