From: Oliver Hartkopp Date: Thu, 23 Jan 2014 09:19:34 +0000 (+0100) Subject: fib_frontend: fix possible NULL pointer dereference X-Git-Tag: v3.14-rc1~94^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0065f266a9b5d51575535a25c15ccbeed9a9966;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed