From 69e80c1b9df704fa10dfbb441f5d51295b0a7c24 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 1 Mar 2023 17:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E7=AC=AC=E4=B8=89=E6=96=B9=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E5=9B=9E=E6=B3=A8=E7=9A=84=E6=95=B0=E6=8D=AE=E5=8C=85?= =?UTF-8?q?=E4=B8=8D=E6=98=AFg=5Fvxlan=E5=B0=81=E8=A3=85=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=BB=85=E8=BF=9B=E8=A1=8Cfielstat=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E4=B8=8D=E6=89=93=E5=8D=B0=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/packet_io.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/src/packet_io.cpp b/platform/src/packet_io.cpp index 2b60aec..afcdf16 100644 --- a/platform/src/packet_io.cpp +++ b/platform/src/packet_io.cpp @@ -905,7 +905,7 @@ static enum inject_pkt_action handle_inject_packet(struct packet_io *handle, mar *action_bytes = 0; if (g_vxlan_decode(&g_vxlan_hdr, raw_data, raw_len) == -1) { - LOG_ERROR("%s: unexpected inject packet, not a vxlan-encapsulated packet, drop !!!", LOG_TAG_PKTIO); + // LOG_ERROR("%s: unexpected inject packet, not a vxlan-encapsulated packet, drop !!!", LOG_TAG_PKTIO); marsio_buff_free(handle->instance, &rx_buff, 1, 0, thread_seq); *action_bytes = raw_len; return INJT_PKT_ERR_DROP; @@ -1271,7 +1271,7 @@ static int forward_all_sf_packet_to_nf(struct packet_io *handle, marsio_buff_t * if (g_vxlan_decode(&g_vxlan_hdr, raw_data, raw_len) == -1) { - LOG_ERROR("%s: unexpected inject packet, not a vxlan-encapsulated packet, drop !!!", LOG_TAG_PKTIO); + // LOG_ERROR("%s: unexpected inject packet, not a vxlan-encapsulated packet, drop !!!", LOG_TAG_PKTIO); marsio_buff_free(handle->instance, &rx_buff, 1, 0, thread_seq); return -1; }