diff options
author | Petr Machata <[email protected]> | 2018-05-03 12:36:59 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-03 13:37:02 -0400 |
commit | f5ae57784ba805d0e8b11db1a7b2c17c5a07dd70 (patch) | |
tree | 1f6bed8d18e8db4b03b25662e2f85b7f5c66f1e8 /lib/mpi/mpiutil.c | |
parent | 41f405460a0471e2183a6d4149608a964f6dc63f (diff) |
selftests: forwarding: lib: Add sysctl_set(), sysctl_restore()
Add two helper functions: sysctl_set() to change the value of a given
sysctl setting, and sysctl_restore() to change it back to what it was.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions