From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4839A0471 for ; Tue, 13 Aug 2019 05:07:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 43AB51B13C; Tue, 13 Aug 2019 05:07:23 +0200 (CEST) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by dpdk.org (Postfix) with ESMTP id 7D25A8F96 for ; Tue, 13 Aug 2019 05:07:21 +0200 (CEST) Received: by mail-ot1-f47.google.com with SMTP id n5so167201236otk.1 for ; Mon, 12 Aug 2019 20:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PBvYtQF33KSP1fCNbDUP5DrF8HnRL2P/nchSI1QcI+8=; b=BFd0xd+c1l/P1I8/xbrHMY7Avrjo0iAR26ydHGkaTDF7ZgkqDh6Ib3TBqUF0ZAdgDs tYw8kEdo9CrPGjhdaqLTMlEVrV8rb+s3vDX4beIhqvt3c/vHcobMUaFigvgAPQ1sMfW/ N1hVYRpo22RXc3mo1BcISa5RS30AY73zzCEZTfvTt+oed5jwbdKOXcb3yRNPn0trTrGR e+RFB57gT4YxxVc7NC0W2x852CscNqD8GYrc3QCvZzoUclIIbCWsqKMem1aH4R8jBRfG uaq4S9C9D4KkS+QXTSmEmV+wGjIbooTxBScmfRjLlFxHUubkQblCDGYnA4HNQ+/AfZxO sahQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PBvYtQF33KSP1fCNbDUP5DrF8HnRL2P/nchSI1QcI+8=; b=tC2hssGKr0bmS2uI6zCMuj2kyKi/ra+48mixcPAHXvQyLS0e8gKJBrZFgqKT/qMb3b nd9cohlsCttVQeYiH08y51T2JuqHwilkS3PCpdSGIAczq3umZeIeh7tO+xYllDpJaje3 Hz+vFFOk4t+U+A3gM9XGAaKGZsFfCrZxQCrNcpOJ4IEHBF4UVfoX2izk28HqiDipR990 BOa2OaM5wEk7Q0xVSayYy/vbng1JYC/8ULEAyiR30iKUA29YiTmHPEc1dNERvVg4BDG2 igLtZrxVCGlbMod3iGoo4SEiWzPECAGl0K3wwysOlnY7S4RTAsCTrn6A9xKiNMAW2egn bucw== X-Gm-Message-State: APjAAAVgf7hepUC2sLQ+pimC4Gh6W8zRZaF7EDg0YExEXbcOrF+Txwq4 SvKZqqqxzwduvt2+I//SJ3RS9gMeMyWMQ76Kq4Ymvw== X-Google-Smtp-Source: APXvYqxiL2FI4GFeEcNwlNPzN5se6sfkRPpharJIeH0acJYaK49LZb+V+7cVvvO7+wBDsW7cyHbxaxreXUq68FsPesA= X-Received: by 2002:a5d:8d12:: with SMTP id p18mr15200464ioj.251.1565665640386; Mon, 12 Aug 2019 20:07:20 -0700 (PDT) MIME-Version: 1.0 From: Abhijeet Baruah Date: Tue, 13 Aug 2019 08:37:09 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] IP Reassembly with more 4 packets crash X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I have looked at previous mails on this mailing list and also elsewhere on Google and could not find any information related to this. Whenever I have to reassemble a valid IP packet with more than 4 fragments, I see a crash. Stack trace below. I assume the number 4 comes from RTE_LIBRTE_IP_FRAG_MAX_FRAG. (gdb) bt #0 ip_frag_lookup (tbl=tbl@entry=0x7fff7a32ce80, key=key@entry=0x7ffff6eeee10, tms=tms@entry=2602613353715115, free=free@entry=0x7ffff6eeedb8, stale=stale@entry=0x7ffff6eeedc0) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/ip_frag_internal.c:379 #1 0x00007ffff7c021f6 in ip_frag_find (tbl=tbl@entry=0x7fff7a32ce80, dr=dr@entry=0x7fff7a32c900, key=key@entry=0x7ffff6eeee10, tms=2602613353715115) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/ip_frag_internal.c:286 #2 0x00007ffff7c00280 in rte_ipv4_frag_reassemble_packet (tbl=0x7fff7a32ce80, dr=0x7fff7a32c900, mb=0x7fff8b71b480, tms=, ip_hdr=) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/rte_ipv4_reassembly.c:160 (gdb) f 0 #0 ip_frag_lookup (tbl=tbl@entry=0x7fff7a32ce80, key=key@entry=0x7ffff6eeee10, tms=tms@entry=2602613353715115, free=free@entry=0x7ffff6eeedb8, stale=stale@entry=0x7ffff6eeedc0) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/ip_frag_internal.c:379 379 if (ip_frag_key_cmp(key, &p1[i].key) == 0) (gdb) f 1 #1 0x00007ffff7c021f6 in ip_frag_find (tbl=tbl@entry=0x7fff7a32ce80, dr=dr@entry=0x7fff7a32c900, key=key@entry=0x7ffff6eeee10, tms=2602613353715115) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/ip_frag_internal.c:286 286 if ((pkt = ip_frag_lookup(tbl, key, tms, &free, &stale)) == NULL) { (gdb) f 2 #2 0x00007ffff7c00280 in rte_ipv4_frag_reassemble_packet (tbl=0x7fff7a32ce80, dr=0x7fff7a32c900, mb=0x7fff8b71b480, tms=, ip_hdr=) at /usr/src/debug/dpdk-17.11.2-6.fc30.x86_64/lib/librte_ip_frag/rte_ipv4_reassembly.c:160 160 if ((fp = ip_frag_find(tbl, dr, &key, tms)) == NULL) { Is this a known issue? Are there any workaround? Regards, Abhijeet