From 0b8b3ad7f9793cff7c135bd8af5643ed8dbbd341 Mon Sep 17 00:00:00 2001
From: xcx <xcx@localhost.localdomain>
Date: Mon, 14 Aug 2023 00:00:16 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ganesha-modify/src/ebpf/tc.bpf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ganesha-modify/src/ebpf/tc.bpf.c b/ganesha-modify/src/ebpf/tc.bpf.c
index bddb488..d8f5a17 100755
--- a/ganesha-modify/src/ebpf/tc.bpf.c
+++ b/ganesha-modify/src/ebpf/tc.bpf.c
@@ -236,6 +236,7 @@ int tc_ingress(struct __sk_buff *ctx)
 		/* 内核模块处理的请求,这里可以直接将其丢弃 */
 		if (if_drop) {
 			bpf_printk("TC_IN: nfsv4 failed, drop packet\n");
+			uppacket_handler(ctx, compound_ctx, 0);
 			return TC_ACT_SHOT;
 		}
 		bpf_printk("TC_IN: nfsv4 failed, return to user\n");
-- 
GitLab