diff options
author | Yufeng Mo <[email protected]> | 2019-07-29 10:53:25 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-29 08:23:40 -0700 |
commit | d659f9f60f6a119654c65bfa58aa6fa762c0824d (patch) | |
tree | cd931780d9e38430be6027d36c8034c4372cc014 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8e9eee78316037f07fd391ddaef99e9c29b53b4b (diff) |
net: hns3: change GFP flag during lock period
When allocating memory, the GFP_KERNEL cannot be used during the
spin_lock period. This is because it may cause scheduling when holding
spin_lock. This patch changes GFP flag to GFP_ATOMIC in this case.
Fixes: dd74f815dd41 ("net: hns3: Add support for rule add/delete for flow director")
Signed-off-by: Yufeng Mo <[email protected]>
Signed-off-by: lipeng 00277521 <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions