]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Act on NETDEV_*_TYPE_CHANGE events
authorAndrew Lunn <andrew@lunn.ch>
Thu, 3 Dec 2015 20:12:33 +0000 (21:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Dec 2015 22:41:42 +0000 (17:41 -0500)
commite6a1ab3e16b2c8b8ff350fb0e63e0e240378a2cf
treea429c324efd573280e1e40c54146f5fc072ea2dc
parent77551eb1bdb0d296fc0e18c206d25e9bc40bf221
batman-adv: Act on NETDEV_*_TYPE_CHANGE events

A network interface can change type. It may change from a type which
batman does not support, e.g. hdlc, to one it does, e.g. hdlc-eth.
When an interface changes type, it sends two notifications. Handle
these notifications.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/hard-interface.c