aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-08-09 16:54:02 -0700
committerJakub Kicinski <[email protected]>2024-08-15 18:56:13 -0700
commite3af3d3c5b26c33a7950e34e137584f6056c4319 (patch)
tree20a539d2a97e0d82622f4d54b8b59476ee91d834 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent7cb43579641dc437941782b473387c6f8bbc1d25 (diff)
ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
dev->ip_ptr could be NULL if we set an invalid MTU. Even then, if we issue ioctl(SIOCSIFADDR) for a new IPv4 address, devinet_ioctl() allocates struct in_ifaddr and fails later in inet_set_ifa() because in_dev is NULL. Let's move the check earlier. Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions