* netfilter merge conflict...
@ 2008-07-15 3:31 David Miller
2008-07-15 3:53 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2008-07-15 3:31 UTC (permalink / raw)
To: kaber; +Cc: netdev, sfr
Patrick, I had to resolve a conflict in nf_conntrack_proto_tcp.c when
I merged net-2.6 into net-next-2.6 in preparation for merging with
Linus. This is the same one Stephen started hitting when building the
linux-next tree last week.
The problem is the looping fix.
What I did was first add a changeset that modifies __nf_ct_kill*() to
return a boolean that indicates if the del_timer() returned true.
This return value propagates through nf_ct_kill() as well.
Then I did the merge and resolved it by making the loop prevention code
look like:
if (nf_ct_kill(ct))
return -NF_REPEAT;
return -NF_DROP;
Just FYI... this is pushed out to net-next-2.6 if you want to have a
closer look.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: netfilter merge conflict...
2008-07-15 3:31 netfilter merge conflict David Miller
@ 2008-07-15 3:53 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-07-15 3:53 UTC (permalink / raw)
To: David Miller; +Cc: netdev, sfr
David Miller wrote:
> Patrick, I had to resolve a conflict in nf_conntrack_proto_tcp.c when
> I merged net-2.6 into net-next-2.6 in preparation for merging with
> Linus. This is the same one Stephen started hitting when building the
> linux-next tree last week.
>
> The problem is the looping fix.
>
> What I did was first add a changeset that modifies __nf_ct_kill*() to
> return a boolean that indicates if the del_timer() returned true.
> This return value propagates through nf_ct_kill() as well.
>
> Then I did the merge and resolved it by making the loop prevention code
> look like:
>
> if (nf_ct_kill(ct))
> return -NF_REPEAT;
> return -NF_DROP;
>
> Just FYI... this is pushed out to net-next-2.6 if you want to have a
> closer look.
The patch looks good, thanks for fixing this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-15 3:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 3:31 netfilter merge conflict David Miller
2008-07-15 3:53 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).