> 2.4.x kernel. have not tried 2.2
> I just found somethig, I believe is kernel bug.
> I am working with usbnet.c driver, which stores some of its
> internal state in sk_buff.cb area. But once such skb passed to
> upper layer with netif_rx, net/ipv4/ip_input.c reuses content of cb
> (line #345),
ip_options_compile() when called with first argument NULL resets cb to 0.
This is probably because the cb is supposed to be used IP and above. The
underlying layer(link and phy) could be anything so where from the
ip_options should start will depend upon the underlying layer.
> and all packets that should go outside of beyond hosts
> we have direct routes to, fails, because we think, they have source routing
> For now I workarounded it with filling skb->cb with zeroes before
> netif_rx(), but I believe it is a kludge and networking layer should be fixed
> Thank you.
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to email@example.com
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-- Regards, Manoj Sontakke
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/