commit | 2f8364a291e8adde25c93f97a76abbcaf4b1ed3f | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Dec 03 21:12:31 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 05 17:41:42 2015 -0500 |
tree | 7b7e3de286880cf4938c00803df3a1ec32d22997 | |
parent | ff3516442768f0babe7ea2db62e34aee1d76e969 [diff] |
WAN: HDLC: Call notifiers before and after changing device type An HDLC device can change type when the protocol driver is changed. Calling the notifier change allows potential users of the interface know about this planned change, and even block it. After the change has occurred, send a second notification to users can evaluate the new device type etc. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>