diff options
| author | Geert Uytterhoeven <[email protected]> | 2016-08-22 15:01:03 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-22 21:04:41 -0700 |
| commit | 1ae292a2457cd692828da2be87cb967260993ad0 (patch) | |
| tree | 7f8e6b2718168f811a8aebb437c7c7ef62d33662 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8b7ac60a5d29f4c554340afd0ce2b759de491e1f (diff) | |
net: ipconfig: Fix NULL pointer dereference on RARP/BOOTP/DHCP timeout
If no RARP, BOOTP, or DHCP response is received, ic_dev is never set,
causing a NULL pointer dereference in ic_close_devs():
Sending DHCP requests ...... timed out!
Unable to handle kernel NULL pointer dereference at virtual address 00000004
To fix this, add a check to avoid dereferencing ic_dev if it is still
NULL.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Fixes: 2647cffb2bc6fbed ("net: ipconfig: Support using "delayed" DHCP replies")
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions