[PATCH 6/6] gtp: update for Linux > 4.2+, set NO_QUEUE flag on gtp device

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas Schultz aschultz at tpip.net
Thu Oct 29 11:39:02 UTC 2015


Signed-off-by: Andreas Schultz <aschultz at tpip.net>
---
 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		= &gtp_netdev_ops;
 	dev->destructor		= free_netdev;
 }
-- 
2.5.0




More information about the OpenBSC mailing list