]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdb31e785a750f3f863f5efc74e3d3eb4a2ddc819
tree5cd3e1a27642f59caea6dd8dbfd3c5461a972e0c
parent46b94040a8c8198bc6545a12f65cc4f9d42601a2
[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