aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2023-03-15 06:00:21 +0000
committerDavid S. Miller <[email protected]>2023-03-17 07:47:39 +0000
commit90de546d9a0b3c771667af18bb3f80567eabb89b (patch)
tree97d9b0a88a36d5952cc734cb178c56133873b92f /fs/proc/array.c
parentMerge branch 'net-ipa-minor-bug-fixes' (diff)
downloadkernel-90de546d9a0b3c771667af18bb3f80567eabb89b.tar.gz
kernel-90de546d9a0b3c771667af18bb3f80567eabb89b.zip
ethernet: sun: add check for the mdesc_grab()
In vnet_port_probe() and vsw_port_probe(), we should check the return value of mdesc_grab() as it may return NULL which can caused NPD bugs. Fixes: 5d01fa0c6bd8 ("ldmvsw: Add ldmvsw.c driver code") Fixes: 43fdf27470b2 ("[SPARC64]: Abstract out mdesc accesses for better MD update handling.") Signed-off-by: Liang He <[email protected]> Reviewed-by: Piotr Raczynski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions