projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6h
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
ipv6
/
netfilter
/
ip6t_ipv6header.c
diff --git
a/net/ipv6/netfilter/ip6t_ipv6header.c
b/net/ipv6/netfilter/ip6t_ipv6header.c
index 26ac084adefc65f21dba581b5783dc17c20f6db4..fd6a0869099b6034d3f8a031a320d36e829a4994 100644
(file)
--- a/
net/ipv6/netfilter/ip6t_ipv6header.c
+++ b/
net/ipv6/netfilter/ip6t_ipv6header.c
@@
-1,7
+1,7
@@
/* ipv6header match - matches IPv6 packets based
on whether they contain certain headers */
/* ipv6header match - matches IPv6 packets based
on whether they contain certain headers */
-/* Original idea: Brad Chapman
+/* Original idea: Brad Chapman
* Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */
/* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu>
* Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */
/* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu>
@@
-45,7
+45,7
@@
ipv6header_match(const struct sk_buff *skb,
/* Make sure this isn't an evil packet */
/* type of the 1st exthdr */
/* Make sure this isn't an evil packet */
/* type of the 1st exthdr */
- nexthdr =
skb->nh.ipv6h
->nexthdr;
+ nexthdr =
ipv6_hdr(skb)
->nexthdr;
/* pointer to the 1st exthdr */
ptr = sizeof(struct ipv6hdr);
/* available length */
/* pointer to the 1st exthdr */
ptr = sizeof(struct ipv6hdr);
/* available length */