From fc1755df03dab0b01a690a8e50d279ae61d610cb Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Mon, 1 Dec 2014 15:37:57 +0000 Subject: [PATCH] Remove kernel traces git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6143 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c b/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c index 2fc0b7a3f2..9f4a08f3b2 100755 --- a/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c +++ b/openair-cn/GTPV1-U/GTPUAH/xt_GTPUAH.c @@ -78,7 +78,7 @@ static bool _gtpuah_route_packet(struct sk_buff *skb, const struct xt_gtpuah_tar } }; -#if 1 +#if 0 int flags, offset; offset = ntohs(iph->frag_off); @@ -173,10 +173,11 @@ _gtpuah_target_add(struct sk_buff *skb, const struct xt_gtpuah_target_info *tgi) /* Create a new copy of the original skb...can't avoid :-( */ if (((orig_iplen + headroom_reqd) <= MTU) || (flags & IP_DF)) { +#if 0 if (flags & IP_DF) { pr_info("GTPUAH: DONT FRAGMENT id %04X", ntohs(iph->id)); } - +#endif new_skb = skb_copy_expand(skb, headroom_reqd + skb_headroom(skb), skb_tailroom(skb), GFP_ATOMIC); if (new_skb == NULL) { @@ -379,6 +380,7 @@ static int __init xt_gtpuah_init(void) { pr_info("GTPUAH: Initializing module (KVersion: %d)\n", KVERSION); pr_info("GTPUAH: Copyright Polaris Networks 2010-2011\n"); + pr_info("GTPUAH: Modified by EURECOM Lionel GAUTHIER 2014\n"); return xt_register_target(&xt_gtpuah_reg); } -- GitLab