aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2017-12-12 21:08:06 +0800
committerGreg Kroah-Hartman <[email protected]>2017-12-13 12:48:46 +0100
commit705f385849b209605dadf0450effd96947fdb6c6 (patch)
tree882ab89ea7d758c45413b0072d1eb5e725cea13b /tools/perf/scripts/python/net_dropmonitor.py
parentd6a5eee8e050d85a65afb22f5259e3619f0b8cb0 (diff)
rtl8188eu: Fix a possible sleep-in-atomic bug in set_tx_beacon_cmd
The driver may sleep under a spinlock. The function call path is: update_beacon (acquire the spinlock) update_BCNTIM set_tx_beacon_cmd kzalloc(GFP_KERNEL) --> may sleep kmemdup(GFP_KERNEL) --> may sleep To fix it, GFP_KERNEL is replaced with GFP_ATOMIC. This bug is found by my static analysis tool(DSAC) and checked by my code review. Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions