projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: add some consts, remove some casts
[cascardo/linux.git]
/
net
/
ipv6
/
netfilter
/
ip6t_ah.c
diff --git
a/net/ipv6/netfilter/ip6t_ah.c
b/net/ipv6/netfilter/ip6t_ah.c
index
8fc00bd
..
b4b1d28
100644
(file)
--- a/
net/ipv6/netfilter/ip6t_ah.c
+++ b/
net/ipv6/netfilter/ip6t_ah.c
@@
-51,7
+51,8
@@
match(const struct sk_buff *skb,
unsigned int protoff,
bool *hotdrop)
{
- struct ip_auth_hdr *ah, _ah;
+ struct ip_auth_hdr _ah;
+ const struct ip_auth_hdr *ah;
const struct ip6t_ah *ahinfo = matchinfo;
unsigned int ptr;
unsigned int hdrlen = 0;