From 67fdfef5b276d04cb4c14eae225768da347d06af Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Fri, 8 Nov 2024 10:20:33 +0900 Subject: [PATCH] loxilb-io/loxilb#836 fixes issue with out-of-order fin packets causing problems with LB end-point selection --- kernel/llb_kern_natlbfwd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/llb_kern_natlbfwd.c b/kernel/llb_kern_natlbfwd.c index 52ca6dd..870e66b 100644 --- a/kernel/llb_kern_natlbfwd.c +++ b/kernel/llb_kern_natlbfwd.c @@ -116,6 +116,10 @@ dp_do_nat(void *ctx, struct xfi *xf) struct dp_proxy_tacts *act; int sel; + if (xf->pm.l4fin || xf->pm.il4fin) { + return 0; + } + memset(&key, 0, sizeof(key)); key.mark = (__u16)(xf->pm.dp_mark & 0xffff);