diff options
author | Li RongQing <lirongqing@baidu.com> | 2018-08-03 10:45:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-06 03:24:45 +0300 |
commit | a6bcfc89694ed8cb482a82cdc8b93aae63a8b691 (patch) | |
tree | 5b4432cdf877af3ad989eb12c1d63f481dc89a8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0ed4229b08c13c84a3c301a08defdc9e7f4467e6 (diff) | |
download | linux-a6bcfc89694ed8cb482a82cdc8b93aae63a8b691.tar.xz |
net: check extack._msg before print
dev_set_mtu_ext is able to fail with a valid mtu value, at that
condition, extack._msg is not set and random since it is in stack,
then kernel will crash when print it.
Fixes: 7a4c53bee3324a ("net: report invalid mtu value via netlink extack")
Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions