Messages in this thread | | | Date | Mon, 16 Feb 2009 18:14:04 +0100 | Subject | ixp4xx_hss with 2x4 HDLC: Receiving data OK, but problem in netif_receive_skb | From | Miguel Ángel Álvarez <> |
| |
Hi to all.
I have finally been able to complete a successfull bidirectional transmission using my modifications to Krzysztof Halasa's ixp4xx_hss driver supporting four HDLC channels for each HSS.
My last problem is that I am not able to send the received data to the network interface.
Inside hss_hdlc_poll, once the data is received, it is send to the network system using netif_receive_skb. This function, however is returning NET_RX_DROP for me. I have analyse this function, and I am not quite sure of the problem... Taking a look to net/core/dev.c, it reaches the following line:
"ret = pt_prev->func(skb, skb->dev, pt_prev, orig_dev);"
I suppose this line should return NET_RX_SUCCESS instead of NET_RX_DROP, but I am not sure which function (func is a function pointer I suppose) are we calling.
Is my analysis correct?
Thanks to all
Miguel Ángel Álvarez -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |