On Tue, May 19, 2015 at 10:50:07PM +0300, Lennert Buytenhek wrote: > In the past, 802.15.4 interfaces and 6LoWPAN interfaces used the > same dev->type (ARPHRD_IEEE802154), and 802.15.4 interfaces were > distinguished from 6LoWPAN interfaces by their differing dev->mtu. > > 6LoWPAN interfaces have their own ARPHRD type now, so there is no > longer any need to check dev->mtu to distinguish 802.15.4 devices > from 6LoWPAN devices. > > Signed-off-by: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> Acked-by: Alexander Aring <alex.aring@xxxxxxxxx> btw: the reason why I introduced this was that I had really fear to change the lowpan ARPHRD, because there exists already a huge of software which support this and somebody told me that when he delete a lowpan interface with the iz tool then the whole kernel was crashed. This was indeed true because it had freed some resources which was allocated on a wpan interface only. But we don't need this anymore, yes. I changed the ARPHRD and nobody screamed that his/her software doesn't work anymore. - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html