From: Patrick McHardy <kaber@trash.net>
To: davem@davemloft.net
Cc: netfilter-devel@lists.netfilter.org, Patrick McHardy <kaber@trash.net>
Subject: [NETFILTER 04/04]: ip6_tables: use correct nexthdr value in ipv6_find_hdr()
Date: Tue, 14 Nov 2006 08:03:32 +0100 (MET) [thread overview]
Message-ID: <20061114070332.13023.87730.sendpatchset@localhost.localdomain> (raw)
In-Reply-To: <20061114070325.13023.10720.sendpatchset@localhost.localdomain>
[NETFILTER]: ip6_tables: use correct nexthdr value in ipv6_find_hdr()
nexthdr is NEXTHDR_FRAGMENT, the nexthdr value from the fragment header
is hp->nexthdr.
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit 85ac8773cc9bc1301cd3be323cb046c0b98998b7
tree 97048b2f41047e7f2bf440fe5ca8ec9986e3fe5c
parent 73d0810541a170f679076824e0a8765ea6017a10
author Patrick McHardy <kaber@trash.net> Tue, 14 Nov 2006 07:57:54 +0100
committer Patrick McHardy <kaber@trash.net> Tue, 14 Nov 2006 07:57:54 +0100
net/ipv6/netfilter/ip6_tables.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 167c2ea..204e021 100644
--- 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 *
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;
next prev parent reply other threads:[~2006-11-14 7:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 7:03 [NETFILTER 00/04]: Netfilter fixes Patrick McHardy
2006-11-14 7:03 ` [NETFILTER 01/04]: nfnetlink_log: fix byteorder of NFULA_SEQ_GLOBAL Patrick McHardy
2006-11-14 7:03 ` [NETFILTER 02/04]: Use pskb_trim in {ip,ip6,nfnetlink}_queue Patrick McHardy
2006-11-14 7:03 ` [NETFILTER 03/04]: ip6_tables: fixed conflicted optname for getsockopt Patrick McHardy
2006-11-14 7:03 ` Patrick McHardy [this message]
2006-11-15 3:49 ` [NETFILTER 00/04]: Netfilter fixes David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061114070332.13023.87730.sendpatchset@localhost.localdomain \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.