Scott Wood
0d9c9a238f
fsl/fman: Use GFP_ATOMIC in {memac,tgec}_add_hash_mac_address()
These functions are called from atomic context:
[ 9.150239] BUG: sleeping function called from invalid context at /home/scott/git/linux/mm/slab.h:421
[ 9.158159] in_atomic(): 1, irqs_disabled(): 0, pid: 4432, name: ip
[ 9.163128] CPU: 8 PID: 4432 Comm: ip Not tainted 4.20.0-rc2-00169-g63d86876f324 #29
[ 9.163130] Call Trace:
[ 9.170701] [c0000002e899a980] [c0000000009c1068] .dump_stack+0xa8/0xec (unreliable)
[ 9.177140] [c0000002e899aa10] [c00000000007a7b4] .___might_sleep+0x138/0x164
[ 9.184440] [c0000002e899aa80] [c0000000001d5bac] .kmem_cache_alloc_trace+0x238/0x30c
[ 9.191216] [c0000002e899ab40] [c00000000065ea1c] .memac_add_hash_mac_address+0x104/0x198
[ 9.199464] [c0000002e899abd0] [c00000000065a788] .set_multi+0x1c8/0x218
[ 9.206242] [c0000002e899ac80] [c0000000006615ec] .dpaa_set_rx_mode+0xdc/0x17c
[ 9.213544] [c0000002e899ad00] [c00000000083d2b0] .__dev_set_rx_mode+0x80/0xd4
[ 9.219535] [c0000002e899ad90] [c00000000083d334] .dev_set_rx_mode+0x30/0x54
[ 9.225271] [c0000002e899ae10] [c00000000083d4a0] .__dev_open+0x148/0x1c8
[ 9.230751] [c0000002e899aeb0] [c00000000083d934] .__dev_change_flags+0x19c/0x1e0
[ 9.230755] [c0000002e899af60] [c00000000083d9a4] .dev_change_flags+0x2c/0x80
[ 9.242752] [c0000002e899aff0] [c0000000008554ec] .do_setlink+0x350/0xf08
[ 9.248228] [c0000002e899b170] [c000000000857ad0] .rtnl_newlink+0x588/0x7e0
[ 9.253965] [c0000002e899b740] [c000000000852424] .rtnetlink_rcv_msg+0x3e0/0x498
[ 9.261440] [c0000002e899b820] [c000000000884790] .netlink_rcv_skb+0x134/0x14c
[ 9.267607] [c0000002e899b8e0] [c000000000851840] .rtnetlink_rcv+0x18/0x2c
[ 9.274558] [c0000002e899b950] [c000000000883c8c] .netlink_unicast+0x214/0x318
[ 9.281163] [c0000002e899ba00] [c000000000884220] .netlink_sendmsg+0x348/0x444
[ 9.287076] [c0000002e899bae0] [c00000000080d13c] .sock_sendmsg+0x2c/0x54
[ 9.287080] [c0000002e899bb50] [c0000000008106c0] .___sys_sendmsg+0x2d0/0x2d8
[ 9.298375] [c0000002e899bd30] [c000000000811a80] .__sys_sendmsg+0x5c/0xb0
[ 9.303939] [c0000002e899be20] [c0000000000006b0] system_call+0x60/0x6c
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-28 21:54:12 -08:00
..
2018-12-27 11:15:21 -08:00
2018-11-26 20:01:47 +01:00
2018-12-03 12:54:39 -07:00
2018-11-28 22:10:54 -08:00
2018-12-21 21:27:21 +01:00
2018-12-25 15:17:51 -08:00
2018-12-27 13:53:32 -08:00
2018-12-19 13:43:42 +01:00
2018-10-29 15:16:01 -07:00
2018-10-25 11:17:40 -06:00
2018-12-27 13:53:32 -08:00
2018-12-14 14:03:38 -08:00
2018-12-25 15:44:08 -08:00
2018-12-27 10:43:24 -08:00
2018-12-27 10:43:24 -08:00
2018-12-27 13:53:32 -08:00
2018-12-11 11:40:13 +09:00
2018-12-06 22:53:05 +05:30
2018-12-03 17:40:18 +01:00
2018-12-19 11:57:45 +01:00
2018-12-27 11:15:21 -08:00
2018-10-16 11:13:50 +02:00
2018-11-26 10:13:04 +11:00
2018-12-06 17:22:23 +01:00
2018-12-25 14:48:06 -08:00
2018-12-26 11:35:07 -08:00
2018-12-10 11:04:41 -08:00
2018-12-26 11:46:28 -08:00
2018-12-26 16:12:50 -08:00
2018-10-11 12:12:55 +02:00
2018-12-25 11:04:17 -08:00
2018-12-12 17:08:32 +01:00
2018-12-27 10:43:24 -08:00
2018-10-23 13:32:18 +01:00
2018-12-25 11:04:17 -08:00
2018-12-20 11:53:36 -08:00
2018-12-26 11:14:52 -08:00
2018-11-22 17:02:21 +01:00
2018-12-18 18:37:27 +01:00
2018-12-28 21:27:31 -08:00
2018-12-25 14:52:50 -08:00
2018-10-09 08:25:08 -06:00
2018-12-22 21:29:56 +11:00
2018-10-29 10:30:44 -07:00
2018-12-27 13:53:32 -08:00
2018-12-27 13:04:52 -08:00
2018-12-13 16:40:03 +00:00
2018-12-27 13:04:52 -08:00
2018-12-17 08:59:42 +01:00
2018-12-25 14:43:54 -08:00
2018-10-23 08:45:05 +01:00
2018-12-28 21:54:12 -08:00
2018-10-23 13:28:53 -05:00
2018-11-01 10:33:12 -04:00
2018-12-05 14:16:12 -08:00
2018-12-07 07:11:11 -08:00
2018-11-11 09:15:29 -08:00
2018-12-27 13:04:52 -08:00
2018-12-14 16:28:52 +05:30
2018-10-17 17:22:26 +02:00
2018-12-25 15:17:51 -08:00
2018-10-26 14:36:21 -07:00
2018-12-06 13:03:17 +00:00
2018-11-21 13:13:58 +05:30
2018-12-07 13:32:19 +01:00
2018-12-26 10:45:33 -08:00
2018-12-12 13:54:28 +01:00
2018-10-23 13:32:18 +01:00
2018-11-23 18:04:02 -08:00
2018-12-24 12:06:56 +01:00
2018-12-21 13:43:35 +00:00
2018-11-26 22:17:40 -08:00
2018-10-29 15:16:01 -07:00
2018-11-30 12:23:44 -08:00
2018-12-09 21:43:31 -08:00
2018-12-26 10:32:18 -08:00
2018-12-27 13:04:52 -08:00
2018-10-31 08:54:16 -07:00
2018-11-07 14:59:28 +01:00
2018-12-27 13:04:52 -08:00
2018-12-25 14:43:54 -08:00
2018-12-27 13:53:32 -08:00
2018-12-27 13:04:52 -08:00
2018-10-11 09:16:44 -07:00
2018-12-10 20:15:28 -08:00
2018-11-26 20:38:49 +01:00
2018-12-27 11:58:50 -08:00
2018-12-11 14:23:17 +01:00
2018-12-27 13:53:32 -08:00
2018-12-21 16:20:47 +11:00
2018-12-27 13:04:52 -08:00
2018-12-25 11:48:26 -08:00
2018-11-26 22:17:40 -08:00
2018-10-15 20:50:32 +02:00
2018-10-22 10:16:28 +02:00
2018-12-18 12:15:55 -05:00
2018-11-12 10:33:49 +01:00
2018-11-12 10:33:49 +01:00