mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
net: Add support for CHANGEUPPER notifier error injection
Since CHANGEUPPER can now fail, add support for it in the newly introduced netdev notifier error injection infrastructure. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b03804e7c3
commit
c39d0454ec
@@ -18,6 +18,7 @@ static struct notifier_err_inject netdev_notifier_err_inject = {
|
||||
{ NOTIFIER_ERR_INJECT_ACTION(NETDEV_POST_INIT) },
|
||||
{ NOTIFIER_ERR_INJECT_ACTION(NETDEV_PRECHANGEMTU) },
|
||||
{ NOTIFIER_ERR_INJECT_ACTION(NETDEV_PRECHANGEUPPER) },
|
||||
{ NOTIFIER_ERR_INJECT_ACTION(NETDEV_CHANGEUPPER) },
|
||||
{}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user