[IPV4]: ip_route_input panic fix
authorStephen Hemminger <shemminger@osdl.org>
Tue, 18 Apr 2006 00:27:11 +0000 (17:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2006 00:27:11 +0000 (17:27 -0700)
commitd2c962b8530b84f4e035df8ade7e35f353a57cbe
tree5cd3e1a27642f59caea6dd8dbfd3c5461a972e0c
parentc19f7a9e1ac45b57375d51f033b02deca50f4d3f
[IPV4]: ip_route_input panic fix

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=6388
The bug is caused by ip_route_input dereferencing skb->nh.protocol of
the dummy skb passed dow from inet_rtm_getroute (Thanks Thomas for seeing
it). It only happens if the route requested is for a multicast IP
address.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c