Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - N index

CONFIG_NETDEV_NOTIFIER_ERROR_INJECT: Netdev notifier error injection module

General informations

The Linux kernel configuration item CONFIG_NETDEV_NOTIFIER_ERROR_INJECT:

Help text

This option provides the ability to inject artificial errors to netdevice notifier chain callbacks. It is controlled through debugfs interface /sys/kernel/debug/notifier-error-inject/netdev

If the notifier call chain should be failed with some events notified, write the error code to "actions/<notifier event>/error".

Example: Inject netdevice mtu change error (-22 = -EINVAL)

# cd /sys/kernel/debug/notifier-error-inject/netdev # echo -22 > actions/NETDEV_CHANGEMTU/error # ip link set eth0 mtu 1024 RTNETLINK answers: Invalid argument

To compile this code as a module, choose M here: the module will be called netdev-notifier-error-inject.

If unsure, say N.



Raw data from LKDDb:


This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - N index

Automatically generated (in year 2023). See also LKDDb sources on GitLab