summaryrefslogtreecommitdiff
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-05-03 20:37:03 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-03 20:37:03 +0300
commit2e5185519450afe948e6418a699799c60ac8597d (patch)
treea5b15e009ca463bfe36df69124ba88a8eb4f6a81 /net/bridge/br_private.h
parent41f405460a0471e2183a6d4149608a964f6dc63f (diff)
parent7eaaf0bc52127401f7f39c9f7950f3f624763c90 (diff)
downloadlinux-2e5185519450afe948e6418a699799c60ac8597d.tar.xz
Merge branch 'selftests-forwarding-sysctl'
Petr Machata says: ==================== selftests: forwarding: Updates to sysctl handling Some selftests need to adjust sysctl settings. In order to be neutral to the system that the test is run on, it is a good practice to change back to the original setting after the test ends. That involves some boilerplate that can be abstracted away. In patch #1, introduce two functions, sysctl_set() and sysctl_restore(). The former stores the current value of a given setting, and sets a new value. The latter restores the setting to the previously-stored value. In patch #2, use these wrappers in a number of tests. Additionally in patch #3, fix a problem in mirror_gre_nh.sh, which neglected to set a sysctl that's crucial for the test to work. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
0 files changed, 0 insertions, 0 deletions