diff --git a/openair-cn/OAISIM_MME/oaisim_mme.c b/openair-cn/OAISIM_MME/oaisim_mme.c
index c2fd0625988e945c5fab5d0a37df3bf5a22225e3..14a9871e58ac3d8351a7eab64dca4a3aebc1c20b 100644
--- a/openair-cn/OAISIM_MME/oaisim_mme.c
+++ b/openair-cn/OAISIM_MME/oaisim_mme.c
@@ -48,7 +48,6 @@
 #include "log.h"
 #include "timer.h"
 #include "sgw_lite_defs.h"
-#include "sgi.h"
 #include "mme_app_extern.h"
 #include "nas_defs.h"
 #include "s11_mme.h"
@@ -74,12 +73,10 @@ int main(int argc, char *argv[])
   CHECK_INIT_RETURN(udp_init(&mme_config));
   CHECK_INIT_RETURN(s11_mme_init(&mme_config));
   CHECK_INIT_RETURN(s1ap_mme_init(&mme_config));
-  //     if (sgi_init(&mme_config) < 0) return -1;
   //     if (gtpv1u_init(&mme_config) < 0) return -1;
   CHECK_INIT_RETURN(mme_app_init(&mme_config));
 
   CHECK_INIT_RETURN(s6a_init(&mme_config));
-  //     if (sgw_lite_init(&mme_config) < 0) return -1;
 
   /* Handle signals here */
   itti_wait_tasks_end();
diff --git a/openair-cn/OAI_EPC/oai_epc.c b/openair-cn/OAI_EPC/oai_epc.c
index 66eadb9d8cd8e48d72cd46d7fba3bff4f0abbbff..c7808275771006da2ec5711058963732e7c6b3f0 100644
--- a/openair-cn/OAI_EPC/oai_epc.c
+++ b/openair-cn/OAI_EPC/oai_epc.c
@@ -55,7 +55,6 @@
 #include "log.h"
 #include "timer.h"
 #include "sgw_lite_defs.h"
-#include "sgi.h"
 #include "mme_app_extern.h"
 #include "nas_defs.h"
 
@@ -85,9 +84,6 @@ int main(int argc, char *argv[])
   CHECK_INIT_RETURN(mme_app_init(&mme_config));
   CHECK_INIT_RETURN(s6a_init(&mme_config));
   CHECK_INIT_RETURN(sgw_lite_init(mme_config.config_file));
-#if ! defined(ENABLE_USE_GTPU_IN_KERNEL)
-  CHECK_INIT_RETURN(sgi_init(&spgw_config.pgw_config));
-#endif
   /* Handle signals here */
   itti_wait_tasks_end();
 
diff --git a/openair-cn/OAI_SGW/oai_sgw.c b/openair-cn/OAI_SGW/oai_sgw.c
index a70f839a1c6f6c0ba95291e7c70f02b7bb58d796..902c4c24c1cc3ecb1915d198139dd4e6c3ea4654 100644
--- a/openair-cn/OAI_SGW/oai_sgw.c
+++ b/openair-cn/OAI_SGW/oai_sgw.c
@@ -54,7 +54,6 @@
 #include "s11_sgw.h"
 #include "sgw_lite_defs.h"
 #include "gtpv1u_sgw_defs.h"
-#include "sgi.h"
 
 #include "oai_sgw.h"
 
@@ -70,7 +69,6 @@ int main(int argc, char *argv[])
   CHECK_INIT_RETURN(udp_init(&mme_config));
   CHECK_INIT_RETURN(s11_sgw_init(&mme_config));
   CHECK_INIT_RETURN(gtpv1u_init(&mme_config));
-  CHECK_INIT_RETURN(sgi_init(&pgw_config));
 
   CHECK_INIT_RETURN(sgw_lite_init(mme_config.config_file));
 
diff --git a/openair-cn/S6A/s6a_peer.c b/openair-cn/S6A/s6a_peer.c
index 176807cff6637aa1061a51d9d91c59710227a1c8..c611cb6981f1a9e90a8c2b8bc715aede478a393a 100644
--- a/openair-cn/S6A/s6a_peer.c
+++ b/openair-cn/S6A/s6a_peer.c
@@ -59,12 +59,6 @@ void s6a_peer_connected_cb(struct peer_info *info, void *arg)
 
     itti_send_msg_to_task(TASK_S1AP, INSTANCE_DEFAULT, message_p);
 
-#if ! defined(ENABLE_USE_GTPU_IN_KERNEL)
-    /* Inform SGI that connection to HSS is established */
-    message_p = itti_alloc_new_message(TASK_S6A, ACTIVATE_MESSAGE);
-
-    itti_send_msg_to_task(TASK_FW_IP, INSTANCE_DEFAULT, message_p);
-#endif
   }
 
   /* For test */
diff --git a/openair-cn/SGW-LITE/sgw_lite_context_manager.h b/openair-cn/SGW-LITE/sgw_lite_context_manager.h
index 16d558b1bb5bcecfd70ab84c3de4abc8bedcdfe4..7cdd2676f483c59938c3ac82c2ec7dfa2b82bf51 100644
--- a/openair-cn/SGW-LITE/sgw_lite_context_manager.h
+++ b/openair-cn/SGW-LITE/sgw_lite_context_manager.h
@@ -119,9 +119,7 @@ typedef struct pgw_eps_bearer_context_information_s {
 
 // A primary key for a EPS Bearer entry  can be a tuple (eps bearer id, imsi)
 typedef struct sgw_eps_bearer_entry_s {
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
   PAA_t                paa;
-#endif
   ebi_t                eps_bearer_id;                         ///< An EPS bearer identity uniquely identifies an EPS bearer for one UE accessing via E-UTRAN
   // TO DO traffic_flow_template_t tft;                   ///< Traffic Flow Template
 
diff --git a/openair-cn/SGW-LITE/sgw_lite_handlers.c b/openair-cn/SGW-LITE/sgw_lite_handlers.c
index d3cdb6abe0d91ae995db8c525e3c7558082cbfb5..f26d2c66d0398f8a370e290e625f142a35038677 100644
--- a/openair-cn/SGW-LITE/sgw_lite_handlers.c
+++ b/openair-cn/SGW-LITE/sgw_lite_handlers.c
@@ -213,7 +213,6 @@ sgw_lite_handle_create_session_request(
       return -1;
     }
 
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
     {
       Gtpv1uCreateTunnelResp           createTunnelResp;
 
@@ -223,14 +222,6 @@ sgw_lite_handle_create_session_request(
       createTunnelResp.S1u_teid      = sgw_get_new_teid();
       sgw_lite_handle_gtpv1uCreateTunnelResp(&createTunnelResp);
     }
-#else
-    message_p->ittiMsg.gtpv1uCreateTunnelReq.context_teid  = new_endpoint_p->local_teid;
-    message_p->ittiMsg.gtpv1uCreateTunnelReq.eps_bearer_id = session_req_pP->bearer_to_create.eps_bearer_id;
-    SPGW_APP_DEBUG("Tx GTPV1U_CREATE_TUNNEL_REQ -> TASK_GTPV1_U, Context: S-GW S11 teid %u eps bearer id %d (from session req)\n",
-                   message_p->ittiMsg.gtpv1uCreateTunnelReq.context_teid,
-                   message_p->ittiMsg.gtpv1uCreateTunnelReq.eps_bearer_id);
-    return itti_send_msg_to_task(TASK_GTPV1_U, INSTANCE_DEFAULT, message_p);
-#endif
   } else {
     SPGW_APP_WARN("Could not create new transaction for SESSION_CREATE message\n");
     free(new_endpoint_p);
@@ -289,7 +280,6 @@ sgw_lite_handle_sgi_endpoint_created(
       create_session_response_p->ambr.br_dl = 100000000;
       create_session_response_p->ambr.br_ul = 40000000;
 
-#if defined(ENABLE_USE_GTPU_IN_KERNEL)
       {
         sgw_eps_bearer_entry_t*                       eps_bearer_entry_p                 = NULL;
         hash_rc = hashtable_get (new_bearer_ctxt_info_p->sgw_eps_bearer_context_information.pdn_connection.sgw_eps_bearers,
@@ -305,7 +295,6 @@ sgw_lite_handle_sgi_endpoint_created(
                  sizeof(PAA_t));
         }
       }
-#endif
       memcpy(&create_session_response_p->paa,
              &resp_pP->paa,
              sizeof(PAA_t));
@@ -401,7 +390,6 @@ sgw_lite_handle_gtpv1uCreateTunnelResp(
 
     sgw_lite_display_s11_bearer_context_information_mapping();
 
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
     SGICreateEndpointResp  sgi_create_endpoint_resp;
 
     memset(&sgi_create_endpoint_resp, 0, sizeof(SGICreateEndpointResp));
@@ -469,81 +457,6 @@ sgw_lite_handle_gtpv1uCreateTunnelResp(
 
     sgi_create_endpoint_resp.status         = SGI_STATUS_OK;
     sgw_lite_handle_sgi_endpoint_created(&sgi_create_endpoint_resp);
-#else
-    /* SEND IP_FW_CREATE_IP_ENDPOINT_REQUEST to FW_IP task */
-    message_p = itti_alloc_new_message(TASK_SPGW_APP, SGI_CREATE_ENDPOINT_REQUEST);
-
-    if (message_p == NULL) {
-      return -1;
-    }
-
-    sgi_create_endpoint_req_p = &message_p->ittiMsg.sgiCreateEndpointReq;
-    memset(sgi_create_endpoint_req_p, 0, sizeof(SGICreateEndpointReq));
-    // IP forward will forward packets to this teid
-    sgi_create_endpoint_req_p->context_teid  = endpoint_created_pP->context_teid;
-    sgi_create_endpoint_req_p->sgw_S1u_teid  = endpoint_created_pP->S1u_teid;
-    sgi_create_endpoint_req_p->eps_bearer_id = endpoint_created_pP->eps_bearer_id;
-
-    // TO DO NOW
-    sgi_create_endpoint_req_p->paa.pdn_type = new_bearer_ctxt_info_p->sgw_eps_bearer_context_information.saved_message.pdn_type;
-
-    switch (sgi_create_endpoint_req_p->paa.pdn_type) {
-    case IPv4_OR_v6:
-      if (pgw_lite_get_free_ipv4_paa_address(&inaddr) == 0) {
-        IN_ADDR_TO_BUFFER(inaddr, sgi_create_endpoint_req_p->paa.ipv4_address);
-      } else {
-        SPGW_APP_WARN("Failed to allocate IPv4 PAA for PDN type IPv4_OR_v6\n");
-
-        if (pgw_lite_get_free_ipv6_paa_prefix(&in6addr) == 0) {
-          IN6_ADDR_TO_BUFFER(in6addr, sgi_create_endpoint_req_p->paa.ipv6_address);
-        } else {
-          SPGW_APP_ERROR("Failed to allocate IPv6 PAA for PDN type IPv4_OR_v6\n");
-        }
-      }
-
-      break;
-
-    case IPv4:
-      if (pgw_lite_get_free_ipv4_paa_address(&inaddr) == 0) {
-        IN_ADDR_TO_BUFFER(inaddr, sgi_create_endpoint_req_p->paa.ipv4_address);
-      } else {
-        SPGW_APP_ERROR("Failed to allocate IPv4 PAA for PDN type IPv4\n");
-      }
-
-      break;
-
-    case IPv6:
-      if (pgw_lite_get_free_ipv6_paa_prefix(&in6addr) == 0) {
-        IN6_ADDR_TO_BUFFER(in6addr, sgi_create_endpoint_req_p->paa.ipv6_address);
-      } else {
-        SPGW_APP_ERROR("Failed to allocate IPv6 PAA for PDN type IPv6\n");
-      }
-
-      break;
-
-    case IPv4_AND_v6:
-      if (pgw_lite_get_free_ipv4_paa_address(&inaddr) == 0) {
-        IN_ADDR_TO_BUFFER(inaddr, sgi_create_endpoint_req_p->paa.ipv4_address);
-      } else {
-        SPGW_APP_ERROR("Failed to allocate IPv4 PAA for PDN type IPv4_AND_v6\n");
-      }
-
-      if (pgw_lite_get_free_ipv6_paa_prefix(&in6addr) == 0) {
-        IN6_ADDR_TO_BUFFER(in6addr, sgi_create_endpoint_req_p->paa.ipv6_address);
-      } else {
-        SPGW_APP_ERROR("Failed to allocate IPv6 PAA for PDN type IPv4_AND_v6\n");
-      }
-
-      break;
-
-    default:
-      AssertFatal(0,"BAD paa.pdn_type %d", sgi_create_endpoint_req_p->paa.pdn_type);
-      break;
-    }
-
-    // TO DO TFT, QOS
-    return itti_send_msg_to_task(TASK_FW_IP, INSTANCE_DEFAULT, message_p);
-#endif
   } else {
     SPGW_APP_DEBUG("Rx SGW_S1U_ENDPOINT_CREATED, Context: teid %u NOT FOUND\n", endpoint_created_pP->context_teid);
     message_p = itti_alloc_new_message(TASK_SPGW_APP, SGW_CREATE_SESSION_RESPONSE);
@@ -683,11 +596,9 @@ sgw_lite_handle_sgi_endpoint_updated(
   sgw_eps_bearer_entry_t                            *eps_bearer_entry_p     = NULL;
   hashtable_rc_t                                     hash_rc;
   task_id_t                                          to_task;
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
   static uint8_t                                     iptable_uplink_remove_gtpu = FALSE;
   char                                               cmd[256];
   int                                                ret;
-#endif
 
 #if defined(ENABLE_STANDALONE_EPC)
   to_task = TASK_MME_APP;
@@ -749,7 +660,6 @@ sgw_lite_handle_sgi_endpoint_updated(
       modify_response_p->bearer_choice.bearer_contexts_modified.cause         = REQUEST_ACCEPTED;
       modify_response_p->cause                                                = REQUEST_ACCEPTED;
       modify_response_p->trxn                                                 = new_bearer_ctxt_info_p->sgw_eps_bearer_context_information.trxn;
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
       // if default bearer
 #warning "TODO define constant for default eps_bearer id"
 
@@ -819,7 +729,6 @@ sgw_lite_handle_sgi_endpoint_updated(
         SPGW_APP_ERROR("ERROR in setting up downlink TUNNEL\n");
       }
 
-#endif
     }
     MSC_LOG_TX_MESSAGE(
   		MSC_SP_GWAPP_MME,
@@ -928,7 +837,6 @@ sgw_lite_handle_modify_bearer_request(
       FTEID_T_2_IP_ADDRESS_T( (&modify_bearer_pP->bearer_context_to_modify.s1_eNB_fteid) , (&eps_bearer_entry_p->enb_ip_address_for_S1u) );
       eps_bearer_entry_p->enb_teid_for_S1u = modify_bearer_pP->bearer_context_to_modify.s1_eNB_fteid.teid;
 
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
       {
         SGIUpdateEndpointResp sgi_update_end_point_resp;
         sgi_update_end_point_resp.context_teid  = modify_bearer_pP->teid;
@@ -938,29 +846,6 @@ sgw_lite_handle_modify_bearer_request(
         sgi_update_end_point_resp.status        = 0x00;
         sgw_lite_handle_sgi_endpoint_updated(&sgi_update_end_point_resp);
       }
-#else
-      // UPDATE GTPV1U mapping tables with eNB references (teid, addresses)
-      message_p = itti_alloc_new_message(TASK_SPGW_APP, GTPV1U_UPDATE_TUNNEL_REQ);
-
-      if (message_p == NULL) {
-        return -1;
-      }
-
-      gtpv1u_update_tunnel_req_p = &message_p->ittiMsg.gtpv1uUpdateTunnelReq;
-      memset(gtpv1u_update_tunnel_req_p, 0, sizeof(Gtpv1uUpdateTunnelReq));
-      gtpv1u_update_tunnel_req_p->context_teid           = modify_bearer_pP->teid;
-      gtpv1u_update_tunnel_req_p->sgw_S1u_teid           = eps_bearer_entry_p->s_gw_teid_for_S1u_S12_S4_up;     ///< SGW S1U local Tunnel Endpoint Identifier
-      gtpv1u_update_tunnel_req_p->enb_S1u_teid           = eps_bearer_entry_p->enb_teid_for_S1u;                ///< eNB S1U Tunnel Endpoint Identifier
-      gtpv1u_update_tunnel_req_p->enb_ip_address_for_S1u = eps_bearer_entry_p->enb_ip_address_for_S1u;
-      gtpv1u_update_tunnel_req_p->eps_bearer_id          = eps_bearer_entry_p->eps_bearer_id;
-      SPGW_APP_DEBUG("Rx MODIFY_BEARER_REQUEST, gtpv1u_update_tunnel_req_p->context_teid           = %u\n",modify_bearer_pP->teid);
-      SPGW_APP_DEBUG("Rx MODIFY_BEARER_REQUEST, gtpv1u_update_tunnel_req_p->sgw_S1u_teid           = %u\n",gtpv1u_update_tunnel_req_p->sgw_S1u_teid);
-      SPGW_APP_DEBUG("Rx MODIFY_BEARER_REQUEST, gtpv1u_update_tunnel_req_p->enb_S1u_teid           = %u\n",gtpv1u_update_tunnel_req_p->enb_S1u_teid);
-      //SPGW_APP_DEBUG("Rx MODIFY_BEARER_REQUEST, gtpv1u_update_tunnel_req_p->enb_ip_address_for_S1u = %u\n",modify_bearer_pP->enb_ip_address_for_S1u);
-      SPGW_APP_DEBUG("Rx MODIFY_BEARER_REQUEST, gtpv1u_update_tunnel_req_p->eps_bearer_id          = %u\n",gtpv1u_update_tunnel_req_p->eps_bearer_id);
-
-      return itti_send_msg_to_task(TASK_GTPV1_U, INSTANCE_DEFAULT, message_p);
-#endif
     }
   } else {
     message_p = itti_alloc_new_message(TASK_SPGW_APP, SGW_MODIFY_BEARER_RESPONSE);
diff --git a/openair-cn/SGW-LITE/sgw_lite_task.c b/openair-cn/SGW-LITE/sgw_lite_task.c
index 9d5698b4b639ef50b92969ad566994f51a431a06..46a51d2207472414e0bd97b8c13a76324b832810 100644
--- a/openair-cn/SGW-LITE/sgw_lite_task.c
+++ b/openair-cn/SGW-LITE/sgw_lite_task.c
@@ -137,7 +137,6 @@ static void *sgw_lite_intertask_interface(void *args_p)
 int sgw_lite_init(char* config_file_name_pP)
 {
   SPGW_APP_DEBUG("Initializing SPGW-APP  task interface\n");
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
   spgw_system("modprobe ip_tables",    SPGW_ABORT_ON_ERROR, __FILE__, __LINE__);
   spgw_system("modprobe x_tables",     SPGW_ABORT_ON_ERROR, __FILE__, __LINE__);
   spgw_system("iptables -P INPUT ACCEPT", SPGW_WARN_ON_ERROR, __FILE__, __LINE__);
@@ -180,7 +179,7 @@ int sgw_lite_init(char* config_file_name_pP)
   spgw_system("sysctl -w net.ipv4.conf.all.route_localnet=1",SPGW_WARN_ON_ERROR, __FILE__, __LINE__);
   spgw_system("sysctl -w net.ipv4.conf.all.rp_filter=0",SPGW_WARN_ON_ERROR, __FILE__, __LINE__);
   spgw_system("sync",                    SPGW_ABORT_ON_ERROR, __FILE__, __LINE__);
-#endif
+
   spgw_config_init(config_file_name_pP, &spgw_config);
   pgw_lite_load_pool_ip_addresses();
 
diff --git a/openair-cn/SGW-LITE/spgw_config.c b/openair-cn/SGW-LITE/spgw_config.c
index 7a4b896e21f4370c9b0d2925dc532db80454028d..b7b1d9725e5508f4ef21a88a30cc0a6859447050 100755
--- a/openair-cn/SGW-LITE/spgw_config.c
+++ b/openair-cn/SGW-LITE/spgw_config.c
@@ -212,9 +212,7 @@ int spgw_config_process(spgw_config_t* config_pP)
   }
 
 
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
   ret += spgw_system("echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects", SPGW_ABORT_ON_ERROR, __FILE__, __LINE__);
-#endif
 
 
   if (snprintf(system_cmd, 256,
@@ -367,26 +365,6 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP)
       }
 
     }
-
-    if(  (
-           config_setting_lookup_string( setting_sgw, SGW_CONFIG_STRING_SGW_DROP_UPLINK_S1U_TRAFFIC,
-                                         (const char **)&sgw_drop_uplink_s1u_traffic)
-           && config_setting_lookup_string( setting_sgw, SGW_CONFIG_STRING_SGW_DROP_DOWNLINK_S1U_TRAFFIC,
-                                            (const char **)&sgw_drop_downlink_s1u_traffic)
-         )
-      ) {
-      if (strcasecmp(sgw_drop_uplink_s1u_traffic, "yes") == 0) {
-        config_pP->sgw_config.sgw_drop_uplink_traffic=1;
-      } else {
-        config_pP->sgw_config.sgw_drop_uplink_traffic=0;
-      }
-
-      if (strcasecmp(sgw_drop_downlink_s1u_traffic, "yes") == 0) {
-        config_pP->sgw_config.sgw_drop_downlink_traffic=1;
-      } else {
-        config_pP->sgw_config.sgw_drop_downlink_traffic=0;
-      }
-    }
   }
 
   setting_pgw = config_lookup(&cfg, PGW_CONFIG_STRING_PGW_CONFIG);
@@ -477,7 +455,7 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP)
               // valid address
               atoken2 = strtok(NULL, PGW_CONFIG_STRING_IPV4_PREFIX_DELIMITER);
               prefix_mask = atoi(atoken2);
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
+
               in_addr_var.s_addr = config_pP->sgw_config.ipv4.sgw_ipv4_address_for_S1u_S12_S4_up;
 
               if (snprintf(system_cmd, 256,
@@ -489,7 +467,7 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP)
               }
 
               if (snprintf(system_cmd, 256,
-                  "iptables -I OUTPUT -t mangle -m mark -s %s/%s ! --mark 0 -j CONNMARK --save-mark",
+                  "iptables -I OUTPUT -t mangle -s %s/%s -m mark  ! --mark 0 -j CONNMARK --save-mark",
                   astring, atoken2) > 0) {
                 spgw_system(system_cmd, SPGW_ABORT_ON_ERROR, __FILE__, __LINE__);
               } else {
@@ -503,7 +481,6 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP)
             	SPGW_APP_ERROR("Route for UEs\n");
               }
 
-#endif
 
               if ((prefix_mask >= 2)&&(prefix_mask < 32)) {
                 memcpy (&addr_start, buf_in_addr, sizeof(struct in_addr));
diff --git a/openair-cn/SGW-LITE/spgw_config.h b/openair-cn/SGW-LITE/spgw_config.h
index 3c2f5a13dfec9cd1ed5d3e03bbceb525c9e2bcbe..5a201e448238aa51976da4fe1a1a08c89590af9e 100755
--- a/openair-cn/SGW-LITE/spgw_config.h
+++ b/openair-cn/SGW-LITE/spgw_config.h
@@ -50,8 +50,6 @@
 #define SGW_CONFIG_STRING_SGW_IPV4_ADDRESS_FOR_S5_S8_UP         "SGW_IPV4_ADDRESS_FOR_S5_S8_UP"
 #define SGW_CONFIG_STRING_SGW_INTERFACE_NAME_FOR_S11            "SGW_INTERFACE_NAME_FOR_S11"
 #define SGW_CONFIG_STRING_SGW_IPV4_ADDRESS_FOR_S11              "SGW_IPV4_ADDRESS_FOR_S11"
-#define SGW_CONFIG_STRING_SGW_DROP_UPLINK_S1U_TRAFFIC           "SGW_DROP_UPLINK_S1U_TRAFFIC"
-#define SGW_CONFIG_STRING_SGW_DROP_DOWNLINK_S1U_TRAFFIC         "SGW_DROP_DOWNLINK_S1U_TRAFFIC"
 
 #define PGW_CONFIG_STRING_PGW_CONFIG                            "P-GW"
 #define PGW_CONFIG_STRING_NETWORK_INTERFACES_CONFIG             "NETWORK_INTERFACES"
diff --git a/openair-cn/UDP/udp_primitives_server.c b/openair-cn/UDP/udp_primitives_server.c
index b5c293d11d112513494699285736dd942ea17b50..e1eb177a5c0a9919e8bc6a7d6603439e72fc473c 100644
--- a/openair-cn/UDP/udp_primitives_server.c
+++ b/openair-cn/UDP/udp_primitives_server.c
@@ -336,7 +336,6 @@ static void *udp_intertask_interface(void *args_p)
     itti_receive_msg(TASK_UDP, &received_message_p);
 
     if (received_message_p != NULL) {
-#if !defined(ENABLE_USE_GTPU_IN_KERNEL)
 
       switch (ITTI_MSG_ID(received_message_p)) {
       case UDP_INIT: {
@@ -422,7 +421,6 @@ static void *udp_intertask_interface(void *args_p)
       break;
       }
 
-#endif
 on_error:
       rc = itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), received_message_p);
       AssertFatal(rc == EXIT_SUCCESS, "Failed to free memory (%d)!\n", rc);
diff --git a/openair-cn/UTILS/mme_config.c b/openair-cn/UTILS/mme_config.c
index 6f401ae5f74dbb09f85f5c5203b59d38587e805d..818880c03a07e2a794f554b6b9bd328c8c244705 100644
--- a/openair-cn/UTILS/mme_config.c
+++ b/openair-cn/UTILS/mme_config.c
@@ -202,9 +202,7 @@ static int config_parse_file(mme_config_t *mme_config_p)
   char             *mme_interface_name_for_S11       = NULL;
   char             *mme_ip_address_for_S11           = NULL;
   char             *sgw_ip_address_for_S11           = NULL;
-#if defined (ENABLE_USE_GTPU_IN_KERNEL)
   char                system_cmd[256];
-#endif
 
   config_init(&cfg);