aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2020-04-08 12:41:38 +0000
committerIlya Dryomov <[email protected]>2020-04-13 17:33:47 +0000
commit2a575f138d003fff0f4930b5cfae4a1c46343b8f (patch)
tree81df5b30d09f3b0360216ef0842dc0e26c7c77f7 /drivers/net/ethernet/intel/igc/igc_main.c
parentrbd: don't mess with a page vector in rbd_notify_op_lock() (diff)
downloadkernel-2a575f138d003fff0f4930b5cfae4a1c46343b8f.tar.gz
kernel-2a575f138d003fff0f4930b5cfae4a1c46343b8f.zip
ceph: fix potential bad pointer deref in async dirops cb's
The new async dirops callback routines can pass ERR_PTR values to ceph_mdsc_free_path, which could cause an oops. Make ceph_mdsc_free_path ignore ERR_PTR values. Also, ensure that the pr_warn messages look sane even if ceph_mdsc_build_path fails. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions