projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: xtables: deconstify struct xt_action_param for matches
[platform/kernel/linux-starfive.git]
/
net
/
netfilter
/
xt_esp.c
diff --git
a/net/netfilter/xt_esp.c
b/net/netfilter/xt_esp.c
index
39caaff
..
7c2d800
100644
(file)
--- a/
net/netfilter/xt_esp.c
+++ b/
net/netfilter/xt_esp.c
@@
-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;