]> 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)
commit8a03c59510910e0bd0c11925f05f6c3d443375fe
treea429c324efd573280e1e40c54146f5fc072ea2dc
parent86d3f0e471d12be03491ec6ff7b68c604f444398
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