aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2018-12-22 16:58:06 -0600
committerGreg Kroah-Hartman <[email protected]>2019-01-15 16:08:28 +0100
commit0a54ea9f481f1a2ca5a171e91ddaacb75040f287 (patch)
treea6d08dbb59397a94b470c57d6e863ff03c30f72b /tools/perf/scripts/python/bin
parente4abc2488073a1e2764313feac5312622c7f04f9 (diff)
staging: rtlwifi: rtl8822b: fix a missing check of alloc_skb
__netdev_alloc_skb() return NULl when it fails. skb_put() further uses it even when the allocation fails, leading to NULL pointer dereference. The fix inserts a check for the return value of __netdev_alloc_skb(). Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions