BATMAN works over Ethernet like interfaces. hdlc-eth provides the need requirements. However, hdlc devices are often created as raw hdlc devices, which batman cannot use, and are then be transmuted into other types using sethdlc(1). Have the HDLC code emit NETDEV_*_TYPE_CHANGE events when the type changes, and have BATMAN react on these events.
Andrew Lunn (4): WAN: HDLC: Detach protocol before unregistering device WAN: HDLC: Call notifiers before and after changing device type ipv6: Only act upon NETDEV_*_TYPE_CHANGE if we have ipv6 addresses batman-adv: Act on NETDEV_*_TYPE_CHANGE events drivers/net/wan/hdlc.c | 21 ++++++++++++++++++--- drivers/net/wan/hdlc_cisco.c | 1 + drivers/net/wan/hdlc_fr.c | 1 + drivers/net/wan/hdlc_ppp.c | 1 + drivers/net/wan/hdlc_raw.c | 1 + drivers/net/wan/hdlc_raw_eth.c | 1 + drivers/net/wan/hdlc_x25.c | 1 + include/linux/hdlc.h | 2 +- net/batman-adv/hard-interface.c | 4 +++- net/ipv6/addrconf.c | 3 ++- 10 files changed, 30 insertions(+), 6 deletions(-) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html