diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2015-04-21 10:30:41 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-07-30 14:10:36 +0200 |
commit | 6b4086dc645491f3df0f5bc7b49cf9dccd827801 (patch) | |
tree | d993ae3ffa3fd37344b5a57664901e722391ed8f /net | |
parent | bee6cd85e93d34534a0908ba4ba7502194b998ca (diff) | |
download | lwn-6b4086dc645491f3df0f5bc7b49cf9dccd827801.tar.gz lwn-6b4086dc645491f3df0f5bc7b49cf9dccd827801.zip |
sparc: Use GFP_ATOMIC in ldc_alloc_exp_dring() as it can be called in softirq context
commit 0edfad5959df7379c9e554fbe8ba264ae232d321 upstream.
Since it is possible for vnet_event_napi to end up doing
vnet_control_pkt_engine -> ... -> vnet_send_attr ->
vnet_port_alloc_tx_ring -> ldc_alloc_exp_dring -> kzalloc()
(i.e., in softirq context), kzalloc() should be called with
GFP_ATOMIC from ldc_alloc_exp_dring.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions