Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689153 > unrolled thread
| Started by | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| First post | 2017-07-17 17:00 +0200 |
| Last post | 2017-07-18 02:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 4.12 nf_conntrack_expect crash Jiri Slaby <jslaby@suse.cz> - 2017-07-17 17:00 +0200
RE: 4.12 nf_conntrack_expect crash 高峰 <fgao@ikuai8.com> - 2017-07-18 02:30 +0200
| From | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| Date | 2017-07-17 17:00 +0200 |
| Subject | Re: 4.12 nf_conntrack_expect crash |
| Message-ID | <u4fF8-6ob-23@gated-at.bofh.it> |
On 07/17/2017, 04:49 PM, Jiri Slaby wrote:
> Hi,
>
> on my system, I see a crash in del_timer invoked in nf_conntrack_expect.
> See the attached picture.
>
> I somehow suspect this commit:
>
> commit ec0e3f01114ad327112432a4da8840eb22fed577
> Author: Gao Feng <fgao@ikuai8.com>
> Date: Mon Mar 27 10:31:26 2017 +0800
>
> netfilter: nf_ct_expect: Add nf_ct_remove_expect()
>
>
> I am going to play with it (debug, try to revert, etc.) if you have no
> better idea...
This?
--- a/net/netfilter/nf_conntrack_expect.c
+++ b/net/netfilter/nf_conntrack_expect.c
@@ -422,7 +422,7 @@ static inline int __nf_ct_expect_check(struct
nf_conntrack_expect *expect)
h = nf_ct_expect_dst_hash(net, &expect->tuple);
hlist_for_each_entry_safe(i, next, &nf_ct_expect_hash[h], hnode) {
if (expect_matches(i, expect)) {
- if (nf_ct_remove_expect(expect))
+ if (nf_ct_remove_expect(i))
break;
} else if (expect_clash(i, expect)) {
ret = -EBUSY;
>
> thanks,
>
--
js
suse labs
[toc] | [next] | [standalone]
| From | 高峰 <fgao@ikuai8.com> |
|---|---|
| Date | 2017-07-18 02:30 +0200 |
| Message-ID | <u4oyJ-3E1-1@gated-at.bofh.it> |
| In reply to | #1689153 |
Hi Jiri,
> From: Jiri Slaby [mailto:jslaby@suse.cz]
> Subject: Re: 4.12 nf_conntrack_expect crash
>
> On 07/17/2017, 04:49 PM, Jiri Slaby wrote:
> > Hi,
> >
> > on my system, I see a crash in del_timer invoked in nf_conntrack_expect.
> > See the attached picture.
> >
> > I somehow suspect this commit:
> >
> > commit ec0e3f01114ad327112432a4da8840eb22fed577
> > Author: Gao Feng <fgao@ikuai8.com>
> > Date: Mon Mar 27 10:31:26 2017 +0800
> >
> > netfilter: nf_ct_expect: Add nf_ct_remove_expect()
> >
> >
> > I am going to play with it (debug, try to revert, etc.) if you have no
> > better idea...
>
> This?
>
> --- a/net/netfilter/nf_conntrack_expect.c
> +++ b/net/netfilter/nf_conntrack_expect.c
> @@ -422,7 +422,7 @@ static inline int __nf_ct_expect_check(struct
> nf_conntrack_expect *expect)
> h = nf_ct_expect_dst_hash(net, &expect->tuple);
> hlist_for_each_entry_safe(i, next, &nf_ct_expect_hash[h], hnode) {
> if (expect_matches(i, expect)) {
> - if (nf_ct_remove_expect(expect))
> + if (nf_ct_remove_expect(i))
> break;
> } else if (expect_clash(i, expect)) {
> ret = -EBUSY;
>
>
>
> >
> > thanks,
> >
>
>
> --
> js
> suse labs
It is a bug caused by typo indeed. I am sorry about that.
And Florian has fixed it recently, but thanks your catch again.
Regards
Feng
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web