Eric Lammerts wrote:
Hello all,
I was having problems with 2.6.12 + madwifi in master mode. No packets
were going out. With tcpdump I see DHCP requests coming in, with strace
I see the dhcp daemon sending replies out, but they don't show up in
tcpdump.
It's caused by this change:
http://oss.sgi.com/projects/netdev/archive/2005-05/msg00109.html
which btw also causes problems for other people:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111853727810345&w=2
Auch. And vlan interfaces are having trouble as well.
Madwifi doesn't call netif_carrier_on() in master mode, so Linux drops
all packets. When I remove the dev_deactivate() line, it works fine again.
Netdevices are "born" with carrier on, so if your code don't call
netif_carrier_off() or set dev->state directly, I don't see how you
can end up in this state. Could you investigate this?
Should we fix madwifi or the kernel?
The code is there for a reason, so hopefully we can work this out.
-Tommy
|