Thread (18 messages) flat view 18 messages, 5 authors, 2012-09-21

Re: regression: tethering fails in 3.5 with iwlwifi

From: Eric Dumazet <hidden>
Date: 2012-09-20 15:27:17

Possibly related (same subject, not in this thread)

On Thu, 2012-09-20 at 17:22 +0200, Johannes Berg wrote:
On Thu, 2012-09-20 at 17:18 +0200, Eric Dumazet wrote:
quoted
quoted
Note I think the failing packets are dhcp packets, and connman seems to
use an AF_INET, SOCK_DGRAM, IPPROTO_UDP socket for those, and binds it
to the right device. I'd be quite surprised though if UDP code had
issues with paged Rx??
quoted
You told me : socket(PF_PACKET, SOCK_RAW, htons(ETH_P_EAPOL))

So I looked at raw code.
and even found an issue. Artem wasn't really sure, but looking at his
information again it seems that the EAPOL packets (those on the raw
sockets) do go through, and then DHCP fails. In the printk he did for
me, I can see that the EAPOL packets are small enough to get pulled in
completely in iwlwifi, and the bigger DHCP packets (~600 bytes) only go
through if we linearize them.
OK, its a bug in UDP, I'll send a patch asap.



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help