From: Patrick McHardy Date: Fri, 8 Feb 2008 01:58:20 +0000 (-0800) Subject: [IPV4]: route: fix crash ip_route_input X-Git-Tag: v2.6.25-rc1~45^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4136cd523eb0c0bd53173e16fd7406d31d05824f;p=pandora-kernel.git [IPV4]: route: fix crash ip_route_input ip_route_me_harder() may call ip_route_input() with skbs that don't have skb->dev set for skbs rerouted in LOCAL_OUT and TCP resets generated by the REJECT target, resulting in a crash when dereferencing skb->dev->nd_net. Since ip_route_input() has an input device argument, it seems correct to use that one anyway. Bug introduced in b5921910a1 (Routing cache virtualization). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed