Hi Stephen: Stephen Hemminger <[EMAIL PROTECTED]> wrote: > 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.
Good catch. > - skb->mac.raw = skb->data; > + skb->mac.raw = skb->nh.raw = skb->data; This should fix it. > + /* Bugfix: need to give ip_route_input enough of an IP header to not > gag. */ > + skb->nh.iph->protocol = IPPROTO_ICMP; Do we really need this? After all we can get completely bogus values coming in through the network too. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html