Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5eadaf73 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: Add noinline to reduce dev_ethtool stack size"

parents 379daaaa baecc503
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -2319,7 +2319,8 @@ static int ethtool_set_tunable(struct net_device *dev, void __user *useraddr)
	return ret;
}

static int ethtool_get_per_queue_coalesce(struct net_device *dev,
static noinline_for_stack
int ethtool_get_per_queue_coalesce(struct net_device *dev,
				   void __user *useraddr,
				   struct ethtool_per_queue_op *per_queue_opt)
{
@@ -2351,7 +2352,8 @@ static int ethtool_get_per_queue_coalesce(struct net_device *dev,
	return 0;
}

static int ethtool_set_per_queue_coalesce(struct net_device *dev,
static noinline_for_stack
int ethtool_set_per_queue_coalesce(struct net_device *dev,
				   void __user *useraddr,
				   struct ethtool_per_queue_op *per_queue_opt)
{