From 8c783bacdc8a24c2319d83aa049e32534018d53a Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Thu, 18 Dec 2014 18:34:38 +0000
Subject: [PATCH] mtu debug

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6291 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c b/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c
index 471860c264..6e6d0df30a 100755
--- a/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c
+++ b/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c
@@ -365,6 +365,9 @@ _gtpuah_tg4_add(struct sk_buff *old_skb_pP, const struct xt_action_param *par_pP
                 goto free_new_skb;
         }
         return;
+    } else {
+        pr_info("GTPUAH: PACKET DROPPED because of mtu %u < (%u + %u)\n",
+                mtu, orig_iplen, headroom_reqd);
     }
 free_new_skb:
     pr_info("GTPUAH: PACKET DROPPED\n");
-- 
GitLab