Thread (21 messages) flat view 21 messages, 2 authors, 2021-09-06

Re: [PATCH net] ip_gre: validate csum_start only if CHECKSUM_PARTIAL

From: Alexander Duyck <hidden>
Date: 2021-09-05 15:53:26

On Sun, Sep 5, 2021 at 8:24 AM Willem de Bruijn
[off-list ref] wrote:
On Sat, Sep 4, 2021 at 7:47 PM Alexander Duyck
[off-list ref] wrote:
<snip>
quoted
You can do it since you have essentially already written half the code.. :)
Sent, but only the ipv4 patch.

I actually do not see an equivalent skb_pull path in ip6_gre.c. Will
take a closer look later, but don't have time for that now.

https://patchwork.kernel.org/project/netdevbpf/patch/20210905152109.1805619-1-willemdebruijn.kernel@gmail.com/
So does that mean that commit 9cf448c200ba ("ip6_gre: add validation
for csum_start") is adding overhead that doesn't really address
anything, and is introducing false positives? If so, should we just
revert it?

Thanks,

- Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help