lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <b0438a630902160914x9df1277x31cc8cf88a72a31d@mail.gmail.com>
Date:	Mon, 16 Feb 2009 18:14:04 +0100
From:	Miguel Ángel Álvarez <gotzoncabanes@...il.com>
To:	linux-arm-kernel <linux-arm-kernel@...ts.arm.linux.org.uk>,
	linux-kernel@...r.kernel.org, Krzysztof Halasa <khc@...waw.pl>,
	ma.alvarez@....es
Subject: ixp4xx_hss with 2x4 HDLC: Receiving data OK, but problem in 
	netif_receive_skb

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ