From: Ryan Mounce <ryan@mounce.com.au>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Hopefully fixed ACK filter for v6
Date: Sun, 29 Apr 2018 10:31:55 +0930 [thread overview]
Message-ID: <CAN+fvRbDemV5+tyrg_SX78xfZmxG2Sche6sU9_uB48rNU2A2cg@mail.gmail.com> (raw)
In-Reply-To: <87wowr2e8t.fsf@toke.dk>
On 29 April 2018 at 07:19, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Think I finally managed to fix the ACK filter so it works for both 6in4
> and regular v6 (the latter seems to have been broken since the commit
> "e6b72c2 ack_filter: make less aggressive by default" which accidentally
> reversed the address compare logic). It should also be safe against
> weirdly fragmented packets (ha! famous last words!).
>
> If someone wants to either eyeball the code and/or test the ACK filter
> please do. I'm planning to resubmit the patch to netdev sometime
> tomorrow evening :)
Eyeballing now, only a couple of comments.
- Initialisation of iph and ipv6h can be moved before the while()
loop. The compiler probably does this anyway.
- Whether it is worth the complexity of restoring the
skb->encapsulation check within cake_get_tcphdr to handle other cases
of encapsulated v4/v6 traffic. I may find some time to test this later
today.
Everything else looks good to me, much cleaner.
Thank you so much for your efforts so far in getting cake upstream,
and in particular to rescue ACK filtering. We may have to send you a
real cake!
Ryan
>
> -Toke
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
next prev parent reply other threads:[~2018-04-29 1:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-28 21:49 Toke Høiland-Jørgensen
2018-04-29 1:01 ` Ryan Mounce [this message]
2018-04-29 10:45 ` Toke Høiland-Jørgensen
2018-04-29 11:38 ` Jonathan Morton
2018-04-29 11:40 ` Sebastian Moeller
2018-04-29 14:25 ` Toke Høiland-Jørgensen
2018-05-04 22:38 ` Jonathan Morton
2018-05-06 15:35 ` Toke Høiland-Jørgensen
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN+fvRbDemV5+tyrg_SX78xfZmxG2Sche6sU9_uB48rNU2A2cg@mail.gmail.com \
--to=ryan@mounce.com.au \
--cc=cake@lists.bufferbloat.net \
--cc=toke@toke.dk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox