diff options
author | Hao Chen <[email protected]> | 2021-11-26 20:03:16 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-11-26 11:36:29 -0800 |
commit | b8af344cfea189cdc0fef41345e55aed76723615 (patch) | |
tree | 9366aaeb6fe10e6bfa8897e6c5b80c1a27799503 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 8d2ad993aa05c0768f00c886c9d369cd97a337ac (diff) |
net: hns3: add check NULL address for page pool
When page pool is not enabled, its address value is still NULL and page
pool should not be accessed, so add a check for it.
Fixes: 850bfb912a6d ("net: hns3: debugfs add support dumping page pool info")
Signed-off-by: Hao Chen <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions