Taehee Yoo
b080bc8481
gtp: use __GFP_NOWARN to avoid memalloc warning
[ Upstream commit bd5cd35b78 ]
gtp hashtable size is received by user-space.
So, this hashtable size could be too large. If so, kmalloc will internally
print a warning message.
This warning message is actually not necessary for the gtp module.
So, this patch adds __GFP_NOWARN to avoid this message.
Splat looks like:
[ 2171.200049][ T1860] WARNING: CPU: 1 PID: 1860 at mm/page_alloc.c:4713 __alloc_pages_nodemask+0x2f3/0x740
[ 2171.238885][ T1860] Modules linked in: gtp veth openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv]
[ 2171.262680][ T1860] CPU: 1 PID: 1860 Comm: gtp-link Not tainted 5.5.0+ #321
[ 2171.263567][ T1860] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 2171.264681][ T1860] RIP: 0010:__alloc_pages_nodemask+0x2f3/0x740
[ 2171.265332][ T1860] Code: 64 fe ff ff 65 48 8b 04 25 c0 0f 02 00 48 05 f0 12 00 00 41 be 01 00 00 00 49 89 47 0
[ 2171.267301][ T1860] RSP: 0018:ffff8880b51af1f0 EFLAGS: 00010246
[ 2171.268320][ T1860] RAX: ffffed1016a35e43 RBX: 0000000000000000 RCX: 0000000000000000
[ 2171.269517][ T1860] RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000000000000
[ 2171.270305][ T1860] RBP: 0000000000040cc0 R08: ffffed1018893109 R09: dffffc0000000000
[ 2171.275973][ T1860] R10: 0000000000000001 R11: ffffed1018893108 R12: 1ffff11016a35e43
[ 2171.291039][ T1860] R13: 000000000000000b R14: 000000000000000b R15: 00000000000f4240
[ 2171.292328][ T1860] FS: 00007f53cbc83740(0000) GS:ffff8880da000000(0000) knlGS:0000000000000000
[ 2171.293409][ T1860] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2171.294586][ T1860] CR2: 000055f540014508 CR3: 00000000b49f2004 CR4: 00000000000606e0
[ 2171.295424][ T1860] Call Trace:
[ 2171.295756][ T1860] ? mark_held_locks+0xa5/0xe0
[ 2171.296659][ T1860] ? __alloc_pages_slowpath+0x21b0/0x21b0
[ 2171.298283][ T1860] ? gtp_encap_enable_socket+0x13e/0x400 [gtp]
[ 2171.298962][ T1860] ? alloc_pages_current+0xc1/0x1a0
[ 2171.299475][ T1860] kmalloc_order+0x22/0x80
[ 2171.299936][ T1860] kmalloc_order_trace+0x1d/0x140
[ 2171.300437][ T1860] __kmalloc+0x302/0x3a0
[ 2171.300896][ T1860] gtp_newlink+0x293/0xba0 [gtp]
[ ... ]
Fixes: 459aa660eb ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:04 -08:00
..
2020-01-26 10:01:04 +01:00
2019-10-23 06:26:33 -04:00
2020-02-01 09:34:35 +00:00
2020-01-09 10:19:59 +01:00
2020-02-01 09:34:46 +00:00
2019-09-17 16:22:26 -07:00
2020-02-01 09:34:36 +00:00
2019-09-13 16:44:49 +03:00
2020-01-23 08:22:54 +01:00
2020-02-01 09:34:51 +00:00
2020-02-01 09:34:51 +00:00
2020-01-04 19:18:25 +01:00
2020-02-05 21:22:41 +00:00
2020-02-05 21:22:43 +00:00
2020-01-09 10:19:59 +01:00
2019-12-31 16:45:26 +01:00
2020-02-05 21:22:52 +00:00
2020-02-01 09:34:52 +00:00
2020-02-05 21:22:40 +00:00
2020-01-26 10:01:08 +01:00
2019-12-21 11:04:48 +01:00
2019-12-31 16:45:16 +01:00
2020-02-01 09:34:46 +00:00
2020-01-09 10:20:06 +01:00
2020-01-26 10:01:07 +01:00
2019-09-18 11:14:31 -07:00
2019-12-31 16:45:09 +01:00
2020-02-01 09:34:45 +00:00
2020-02-01 09:34:46 +00:00
2020-02-01 09:34:46 +00:00
2019-09-22 12:02:21 -07:00
2020-01-04 19:18:21 +01:00
2020-01-29 16:45:30 +01:00
2019-12-31 16:46:09 +01:00
2020-01-26 10:01:06 +01:00
2020-02-01 09:34:36 +00:00
2020-01-29 16:45:30 +01:00
2020-02-05 21:22:49 +00:00
2019-12-17 19:55:39 +01:00
2020-02-01 09:34:48 +00:00
2020-01-23 08:22:55 +01:00
2019-10-28 13:33:41 -07:00
2020-02-05 21:22:49 +00:00
2019-10-21 02:05:21 +02:00
2020-01-04 19:18:30 +01:00
2020-02-05 21:22:53 +00:00
2020-02-05 21:22:41 +00:00
2020-01-17 19:48:59 +01:00
2019-10-09 11:08:03 +02:00
2020-01-23 08:22:35 +01:00
2020-02-01 09:34:49 +00:00
2020-02-05 21:22:46 +00:00
2020-02-01 09:34:50 +00:00
2020-01-23 08:22:57 +01:00
2020-02-11 04:35:04 -08:00
2020-01-23 08:22:48 +01:00
2019-09-23 17:20:40 -04:00
2020-01-04 19:18:12 +01:00
2020-01-09 10:19:43 +01:00
2019-12-31 16:44:42 +01:00
2020-01-09 10:20:03 +01:00
2019-10-23 10:58:44 +05:30
2019-10-14 21:44:26 +02:00
2019-12-31 16:45:25 +01:00
2020-02-01 09:34:47 +00:00
2019-09-28 08:14:15 -07:00
2020-02-01 09:34:49 +00:00
2020-02-01 09:34:43 +00:00
2020-01-29 16:45:27 +01:00
2020-02-05 21:22:45 +00:00
2020-02-01 09:34:53 +00:00
2020-01-14 20:08:18 +01:00
2020-01-23 08:22:51 +01:00
2020-01-26 10:01:04 +01:00
2020-01-26 10:01:05 +01:00
2019-09-22 10:55:08 -07:00
2020-01-23 08:22:43 +01:00
2020-01-14 20:08:37 +01:00
2020-01-26 10:01:06 +01:00
2020-02-05 21:22:44 +00:00
2020-02-05 21:22:49 +00:00
2020-02-05 21:22:43 +00:00
2019-12-31 16:45:11 +01:00
2020-02-01 09:34:48 +00:00
2019-09-13 17:23:18 +03:00
2020-02-01 09:34:47 +00:00
2020-01-29 16:45:30 +01:00
2020-02-05 21:22:49 +00:00
2019-12-13 08:43:21 +01:00
2019-12-04 22:30:50 +01:00
2020-02-01 09:34:34 +00:00
2019-09-18 11:14:31 -07:00
2020-02-01 09:34:50 +00:00
2019-12-21 11:04:48 +01:00
2020-01-04 19:19:18 +01:00
2019-12-17 19:56:42 +01:00
2019-10-10 14:50:32 +02:00
2019-12-17 19:55:56 +01:00
2019-10-10 15:35:41 +02:00
2020-02-01 09:34:43 +00:00
2020-01-09 10:19:51 +01:00
2019-09-18 11:05:34 -07:00
2019-09-18 11:05:34 -07:00