summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error')
-rw-r--r--tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error b/tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error
new file mode 100644
index 00000000..6f52658f
--- /dev/null
+++ b/tests/shell/testcases/bogons/nft-f/memleak_on_hookspec_error
@@ -0,0 +1,21 @@
+table ip filter {
+ ct expectation ctexpect {
+ protocol tcp
+ size 12
+ l3proto ip
+ } . inet_proto : mark
+ flags interval,timeout
+ }
+
+ chain output {
+ type gilter hook output priori
+
+ chain c {
+ cttable inet filter {
+ map test {
+ type mark . inet_service . inet_proto : mark
+ flags interval,timeout
+ }
+
+ chain output {
+ type gilter hook output priority filuer; policy \ No newline at end of file