Files
android_kernel_xiaomi_sm8450/include/linux
Hans Westgaard Ry 5f74f82ea3 net:Add sysctl_max_skb_frags
Devices may have limits on the number of fragments in an skb they support.
Current codebase uses a constant as maximum for number of fragments one
skb can hold and use.
When enabling scatter/gather and running traffic with many small messages
the codebase uses the maximum number of fragments and may thereby violate
the max for certain devices.
The patch introduces a global variable as max number of fragments.

Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Reviewed-by: Håkon Bugge <haakon.bugge@oracle.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-09 04:28:06 -05:00
..
2016-01-21 19:36:08 +01:00
2015-10-17 21:22:08 -07:00
2015-10-07 18:08:15 +01:00
2016-01-05 18:04:58 +01:00
2015-11-16 15:41:49 +00:00
2010-10-15 21:18:59 +02:00
2015-12-23 08:37:10 -07:00
2010-11-23 20:14:46 +00:00
2015-03-25 20:28:11 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-10-08 13:50:20 +10:30
2015-08-03 12:01:54 -04:00
2005-04-16 15:20:36 -07:00
2012-12-02 00:05:12 +00:00
2009-04-01 08:59:23 -07:00
2005-04-16 15:20:36 -07:00
2011-03-11 14:25:50 +00:00
2015-12-22 09:38:34 -07:00
2009-01-04 13:33:20 -08:00
2015-12-06 12:46:31 +01:00
2009-11-20 20:13:39 +01:00
2009-11-20 20:13:39 +01:00
2011-03-31 11:26:23 -03:00
2013-11-15 09:32:21 +09:00
2011-10-29 21:20:22 +02:00
2013-11-09 00:16:29 -05:00
2015-10-07 16:02:49 -07:00
2008-12-25 11:01:43 +11:00
2015-09-04 16:54:41 -07:00
2015-02-12 18:54:15 -08:00
2016-01-30 13:35:32 -08:00
2011-01-10 08:51:44 -08:00
2015-10-18 10:14:39 -07:00
2010-08-04 11:00:45 +02:00
2015-10-31 19:05:59 -04:00
2016-01-08 01:12:06 +01:00
2012-02-20 19:46:36 +11:00
2009-12-10 23:52:01 +00:00
2015-01-21 19:21:30 +01:00
2009-09-14 17:41:42 -07:00
2012-09-30 18:02:20 -07:00
2005-04-16 15:20:36 -07:00
2012-10-16 18:49:15 -07:00
2008-01-28 23:21:18 +01:00
2013-05-07 18:38:27 -07:00
2014-01-16 10:23:02 +10:30
2014-12-31 13:06:50 -05:00
2015-10-30 01:47:27 -04:00
2014-10-09 11:35:48 +03:00
2015-06-24 17:49:45 -07:00
2014-10-08 16:01:41 -04:00
2009-06-18 13:04:05 -07:00
2014-08-06 18:01:24 -07:00
2007-07-10 00:35:17 -04:00
2010-10-25 14:11:37 -07:00
2015-05-12 10:46:53 +02:00
2015-12-28 13:41:50 +01:00
2010-02-09 11:13:56 +01:00
2011-03-31 11:26:23 -03:00
2010-03-07 22:17:09 +01:00
2016-01-15 17:56:32 -08:00
2015-03-16 21:45:54 +11:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2014-01-16 11:15:50 +01:00
2011-07-01 10:37:15 +02:00
2015-05-05 13:40:42 -06:00
2015-11-25 09:22:00 -07:00
2015-10-23 05:44:28 -07:00
2008-08-02 18:36:10 +01:00
2013-12-29 16:34:25 -05:00
2005-04-16 15:20:36 -07:00
2016-01-20 17:09:18 -08:00
2006-10-10 15:37:22 -07:00
2012-03-20 12:47:48 +01:00
2010-08-09 20:45:05 -07:00
2012-03-20 12:47:47 +01:00
2013-06-17 16:38:57 -07:00
2015-10-01 15:06:43 +02:00
2015-12-14 10:03:46 +01:00
2015-06-25 12:06:45 +02:00
2014-03-13 12:11:00 +10:30
2007-10-17 08:42:52 -07:00
2015-07-28 08:50:42 +01:00
2011-01-24 14:45:11 +10:30
2013-08-28 21:35:14 -07:00
2008-07-04 10:40:05 -07:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2011-09-16 19:20:20 -04:00
2009-04-06 16:06:26 +01:00
2015-04-29 17:17:17 -05:00
2015-11-23 09:44:58 +01:00
2006-06-05 12:29:17 -07:00
2005-04-16 15:20:36 -07:00
2014-05-27 17:38:11 -07:00
2016-01-15 17:56:32 -08:00
2009-06-16 08:40:20 +02:00
2015-04-14 16:49:05 -07:00
2015-10-27 18:55:31 -07:00
2015-06-24 17:49:41 -07:00
2015-12-04 22:46:26 +01:00
2015-10-20 22:10:45 +08:00
2015-07-21 10:39:05 -07:00
2014-03-04 13:51:06 -05:00
2014-01-27 21:02:39 -08:00
2015-06-25 04:20:04 -04:00
2016-01-04 13:19:55 -05:00
2014-01-25 03:14:05 -05:00
2012-12-11 17:22:27 -08:00
2013-05-04 14:47:26 -04:00
2015-03-11 17:56:28 -04:00
2014-11-04 13:29:38 +00:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2016-01-22 17:02:18 -08:00
2014-07-09 14:58:37 +01:00
2015-04-12 21:03:31 +02:00
2016-01-31 09:10:19 -08:00
2016-01-15 17:56:32 -08:00
2016-01-07 14:31:27 -05:00
2015-01-25 23:17:28 -05:00
2010-08-04 21:53:17 -07:00
2011-11-02 16:07:02 -07:00
2015-10-06 17:08:19 +02:00
2011-03-31 11:26:23 -03:00
2015-10-22 08:59:18 -07:00
2012-03-20 21:29:38 -04:00
2010-02-10 17:47:17 -08:00
2015-11-16 09:23:47 +01:00
2013-07-03 16:08:05 -07:00
2015-05-26 15:23:23 +02:00
2016-01-15 17:56:32 -08:00
2012-10-06 03:05:01 +09:00
2010-05-11 10:09:47 +02:00
2015-06-25 01:13:43 +02:00
2016-01-10 22:13:15 -05:00
2013-06-17 16:38:57 -07:00
2015-12-13 19:59:48 -08:00
2009-04-08 14:33:38 -07:00
2016-01-04 16:11:11 -05:00
2016-02-09 04:28:06 -05:00
2011-03-31 11:26:23 -03:00
2015-04-11 15:53:35 -04:00
2005-04-16 15:20:36 -07:00
2014-06-12 00:21:11 -04:00
2010-08-09 16:48:44 -04:00
2016-01-04 10:20:19 -05:00
2013-04-30 15:50:12 +05:30
2011-08-16 00:16:49 -07:00
2005-04-16 15:20:36 -07:00
2015-06-25 17:00:39 -07:00
2015-11-05 14:36:09 -05:00
2016-01-15 22:34:39 +01:00
2015-08-17 11:25:28 -07:00
2015-10-01 09:57:59 -07:00
2010-11-29 08:55:25 +11:00
2015-10-19 01:01:21 +02:00
2015-11-23 09:44:58 +01:00
2005-04-16 15:20:36 -07:00
2014-11-28 16:08:16 +01:00
2015-12-21 15:28:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2016-01-12 20:47:02 +02:00
2016-01-15 17:56:32 -08:00
2014-04-07 16:35:53 -07:00
2016-01-14 16:00:49 -08:00
2013-05-27 10:57:53 +09:00
2015-12-03 07:24:29 -08:00
2015-03-24 09:48:14 -07:00
2011-01-13 08:03:24 -08:00
2013-10-17 15:53:09 -04:00
2010-04-06 20:35:58 +04:00
2015-09-08 15:35:28 -07:00