On Tue, Aug 11, 2009 at 10:39:58PM +0200, Johannes Berg wrote:
Currently we do all the work from special worker threads, so it's
possible for this callback to sleep. The error isn't yet propagated to
upper layers (there is a huge TODO there), anyway.
We were using master netdevices for several purposes:
1) ip link add link mwpanX type wpan, so that we have out-of-box support
for radio additions. That's really nice thing to have.
2) for SOCK_RAW implementation that can be used to send raw packets
over-the-air/receive raw packets. I think we can use af_packet for
this, but I'm still not sure about packet injection.
3) On the RX, we did send a clone of skb to the mdev and clones to slave
interfaces, thus overcoming your last argument.
Hmm. It works for us. Could you please tell me more about the problems
with skb->cb ?
We did use it as a netdev, however we can probably live without it.
I'll rethink this interface.
--
With best wishes
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html