projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b96e7ec
)
[NETFILTER]: ip6_tables: use correct nexthdr value in ipv6_find_hdr()
author
Patrick McHardy
<kaber@trash.net>
Wed, 15 Nov 2006 03:49:13 +0000
(19:49 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 16 Nov 2006 05:18:50 +0000
(21:18 -0800)
nexthdr is NEXTHDR_FRAGMENT, the nexthdr value from the fragment header
is hp->nexthdr.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6_tables.c
patch
|
blob
|
history
diff --git
a/net/ipv6/netfilter/ip6_tables.c
b/net/ipv6/netfilter/ip6_tables.c
index 167c2ea88f6be997807cd6fe81e2a0d1c47f3934..204e02162d494ab24c0a1663d2e359db471f89e3 100644
(file)
--- a/
net/ipv6/netfilter/ip6_tables.c
+++ b/
net/ipv6/netfilter/ip6_tables.c
@@
-1494,7
+1494,7
@@
int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
if (_frag_off) {
if (target < 0 &&
((!ipv6_ext_hdr(hp->nexthdr)) ||
- nexthdr == NEXTHDR_NONE)) {
+
hp->
nexthdr == NEXTHDR_NONE)) {
if (fragoff)
*fragoff = _frag_off;
return hp->nexthdr;