Re: IP layer bug?

kuznet
2001-03-30T17:15:29Z

Hello!

> For now I workarounded it with filling skb->cb with zeroes before
> netif_rx(),

This is right. For another examples look into tunnels.

> but I believe it is a kludge and networking layer should be fixed instead.

No.

alloc_skb() creates skb with clean cb. ip_rcv() and other protocol handlers
do not redo this work. If device uses cb internally, it must clear it
before handing skb to netif_rx().

Alexey