diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-24 10:27:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-24 22:26:19 -0400 |
commit | 87c0c046e80293af001af95a66c46491ee43130a (patch) | |
tree | a00995d0755bc1dcb78605b344bbefb5264be48a /net/sched/cls_basic.c | |
parent | 1893150fd531a1dfacef36e4f43be6cc795c6f50 (diff) |
selftests: forwarding: lib: Extract trap_{, un}install()
A mirror-to-vlan test that's coming next needs to install the trap
unconditionally. Therefore extract from slow_path_trap_{,un}install()
a more generic functions trap_install() and trap_uninstall(), and covert
the former two to conditional wrappers around these.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions