[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181109.200226.203212078900592187.davem@davemloft.net>
Date: Fri, 09 Nov 2018 20:02:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
soukjin.bae@...sung.com
Subject: Re: [PATCH net] flow_dissector: do not dissect l4 ports for
fragments
From: Eric Dumazet <edumazet@...gle.com>
Date: Fri, 9 Nov 2018 16:53:06 -0800
> From: ¹è¼®Áø <soukjin.bae@...sung.com>
>
> Only first fragment has the sport/dport information,
> not the following ones.
>
> If we want consistent hash for all fragments, we need to
> ignore ports even for first fragment.
>
> This bug is visible for IPv6 traffic, if incoming fragments
> do not have a flow label, since skb_get_hash() will give
> different results for first fragment and following ones.
>
> It is also visible if any routing rule wants dissection
> and sport or dport.
>
> See commit 5e5d6fed3741 ("ipv6: route: dissect flow
> in input path if fib rules need it") for details.
>
> [edumazet] rewrote the changelog completely.
>
> Fixes: 06635a35d13d ("flow_dissect: use programable dissector in skb_flow_dissect and friends")
> Signed-off-by: ¹è¼®Áø <soukjin.bae@...sung.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists