lkml.org 
[lkml]   [2009]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectixp4xx_hss with 2x4 HDLC: Receiving data OK, but problem in netif_receive_skb
From
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/

\
 
 \ /
  Last update: 2009-02-18 12:23    [W:0.021 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site