Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286409
| From | Florian Westphal <fw@strlen.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: next-20151207 - crash in IPv6 code |
| Date | 2015-12-08 12:40 +0100 |
| Message-ID | <qDoMF-1Ko-11@gated-at.bofh.it> (permalink) |
| References | <qDiQW-6q2-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Valdis Kletnieks <Valdis.Kletnieks@vt.edu> wrote:
[ CC Pablo ]
> Seen this in 2 boots out of two on next-20151207 when IPV6 networking
> was available. It was stable when no net was available. Also, next-20161127 is OK.
> Haven't bisected it yet - this ring any bells?
Thanks for the report, my fault -- its caused by
029f7f3b8701cc7aca8bdb which is only in Pablos nf-next tree.
This should fix this bug (proper patch w. changelog coming
after more testing):
diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c
--- a/net/ipv6/netfilter/nf_conntrack_reasm.c
+++ b/net/ipv6/netfilter/nf_conntrack_reasm.c
@@ -441,11 +441,14 @@ nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *prev, struct net_devic
return false;
fp->next = prev->next;
- skb_queue_walk(head, iter) {
- if (iter->next != prev)
- continue;
- iter->next = fp;
- break;
+
+ iter = head;
+ while (iter) {
+ if (iter->next == prev) {
+ iter->next = fp;
+ break;
+ }
+ iter = iter->next;
}
skb_morph(prev, head);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
next-20151207 - crash in IPv6 code Valdis Kletnieks <Valdis.Kletnieks@vt.edu> - 2015-12-08 06:20 +0100
Re: next-20151207 - crash in IPv6 code Florian Westphal <fw@strlen.de> - 2015-12-08 12:40 +0100
Re: next-20151207 - crash in IPv6 code Valdis.Kletnieks@vt.edu - 2015-12-08 23:00 +0100
Re: next-20151207 - crash in IPv6 code David Miller <davem@davemloft.net> - 2015-12-09 03:20 +0100
csiph-web