diff options
| author | Ido Schimmel <[email protected]> | 2015-12-03 11:12:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-03 16:49:23 +0000 |
| commit | c39d0454ec9b703d3540dd10a2e9692f89aa48ab (patch) | |
| tree | a75cef967b86ab7cc61994b07b1269b04c5fe2e5 /lib/netdev-notifier-error-inject.c | |
| parent | net: Check CHANGEUPPER notifier return value (diff) | |
| download | kernel-c39d0454ec9b703d3540dd10a2e9692f89aa48ab.tar.gz kernel-c39d0454ec9b703d3540dd10a2e9692f89aa48ab.zip | |
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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
| -rw-r--r-- | lib/netdev-notifier-error-inject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev-notifier-error-inject.c b/lib/netdev-notifier-error-inject.c index b2b856675d61..13e9c62e216f 100644 --- a/lib/netdev-notifier-error-inject.c +++ b/lib/netdev-notifier-error-inject.c @@ -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) }, {} } }; |
