aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_esp.c')
-rw-r--r--net/netfilter/xt_esp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_esp.c b/net/netfilter/xt_esp.c
index 9f5da979567..143bfdc8e38 100644
--- a/net/netfilter/xt_esp.c
+++ b/net/netfilter/xt_esp.c
@@ -66,10 +66,10 @@ static int esp_mt_check(const struct xt_mtchk_param *par)
66 66
67 if (espinfo->invflags & ~XT_ESP_INV_MASK) { 67 if (espinfo->invflags & ~XT_ESP_INV_MASK) {
68 pr_debug("unknown flags %X\n", espinfo->invflags); 68 pr_debug("unknown flags %X\n", espinfo->invflags);
69 return false; 69 return -EINVAL;
70 } 70 }
71 71
72 return true; 72 return 0;
73} 73}
74 74
75static struct xt_match esp_mt_reg[] __read_mostly = { 75static struct xt_match esp_mt_reg[] __read_mostly = {