commit | d51d10aa1dbdedd9254874bf37e8b0cd96ea3bde | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Thu May 03 12:37:13 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 03 13:37:02 2018 -0400 |
tree | f3b3e33094389e6e6a33aa94960217c947fcffd4 | |
parent | f5ae57784ba805d0e8b11db1a7b2c17c5a07dd70 [diff] |
selftests: forwarding: Use sysctl_set(), sysctl_restore() Instead of hand-managing the sysctl set and restore, use the wrappers sysctl_set() and sysctl_restore() to do the bookkeeping automatically. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>