netfilter: xtables: deconstify struct xt_action_param for matches
[linux-block.git] / net / netfilter / xt_esp.c
index 39caafff948543e9d6c741d393c41b0d859eb9df..7c2d80020554426c8b10da7a964727c861f975c0 100644 (file)
@@ -36,8 +36,7 @@ spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert)
        return r;
 }
 
-static bool esp_mt(const struct sk_buff *skb,
-                  const struct xt_action_param *par)
+static bool esp_mt(const struct sk_buff *skb, struct xt_action_param *par)
 {
        const struct ip_esp_hdr *eh;
        struct ip_esp_hdr _esp;