diff options
author | 2014-01-23 10:19:34 +0100 | |
---|---|---|
committer | 2014-01-24 15:51:26 -0800 | |
commit | a0065f266a9b5d51575535a25c15ccbeed9a9966 (patch) | |
tree | 0e935ff454cd02558b88ec10c817ad703598977c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next (diff) | |
download | linux-dev-a0065f266a9b5d51575535a25c15ccbeed9a9966.tar.xz linux-dev-a0065f266a9b5d51575535a25c15ccbeed9a9966.zip |
fib_frontend: fix possible NULL pointer dereference
The two commits 0115e8e30d (net: remove delay at device dismantle) and
748e2d9396a (net: reinstate rtnl in call_netdevice_notifiers()) silently
removed a NULL pointer check for in_dev since Linux 3.7.
This patch re-introduces this check as it causes crashing the kernel when
setting small mtu values on non-ip capable netdevices.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Eric Dumazet <edumazet@google.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