From patchwork Thu Oct 29 11:39:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schultz X-Patchwork-Id: 537797 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (unknown [IPv6:2a01:4f8:191:444b::2:7]) by ozlabs.org (Postfix) with ESMTP id BF9F9140787 for ; Thu, 29 Oct 2015 22:39:38 +1100 (AEDT) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id 3A0747A2C; Thu, 29 Oct 2015 11:39:37 +0000 (UTC) X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received: from mail.tpip.net (mail.tpip.net [92.43.49.48]) by lists.osmocom.org (Postfix) with ESMTP id D6F9F7A11 for ; Thu, 29 Oct 2015 11:39:35 +0000 (UTC) Received: from office.tpip.net (office.tpip.net [92.43.51.2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tpip.net (Postfix) with ESMTPS id 6A4C74F418; Thu, 29 Oct 2015 11:39:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by office.tpip.net (Postfix) with ESMTP id 2500FA2F7A; Thu, 29 Oct 2015 12:39:13 +0100 (CET) Received: from office.tpip.net ([127.0.0.1]) by localhost (office.tpip.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Y8KQ3LcQPCfb; Thu, 29 Oct 2015 12:39:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by office.tpip.net (Postfix) with ESMTP id E2382A2F78; Thu, 29 Oct 2015 12:39:12 +0100 (CET) X-Virus-Scanned: amavisd-new at tpip.net Received: from office.tpip.net ([127.0.0.1]) by localhost (office.tpip.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TC9RohOUKGre; Thu, 29 Oct 2015 12:39:12 +0100 (CET) Received: from alice.tpip.org (unknown [192.168.13.53]) by office.tpip.net (Postfix) with ESMTPSA id 7F97CA2F7A; Thu, 29 Oct 2015 12:39:12 +0100 (CET) From: Andreas Schultz To: Harald Welte , Pablo Neira Ayuso Subject: [PATCH 6/6] gtp: update for Linux > 4.2+, set NO_QUEUE flag on gtp device Date: Thu, 29 Oct 2015 12:39:02 +0100 Message-Id: <1446118742-22809-7-git-send-email-aschultz@tpip.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1446118742-22809-1-git-send-email-aschultz@tpip.net> References: <1446118742-22809-1-git-send-email-aschultz@tpip.net> X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of the OpenBSC GSM base station controller List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbsc@lists.osmocom.org Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" Signed-off-by: Andreas Schultz --- gtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtp.c b/gtp.c index 7fa9c38..7c72eb0 100644 --- a/gtp.c +++ b/gtp.c @@ -718,6 +718,8 @@ static const struct net_device_ops gtp_netdev_ops = { static void gtp_link_setup(struct net_device *dev) { + dev->priv_flags |= IFF_NO_QUEUE; + dev->netdev_ops = >p_netdev_ops; dev->destructor = free_netdev; }