lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cfe8c71d0291b5612afc3765da470c21a9fad87b.camel@gmail.com>
Date:   Wed, 22 Jun 2022 00:56:48 -0300
From:   Jose Alonso <joalonsof@...il.com>
To:     Paolo Abeni <pabeni@...hat.com>,
        David Laight <David.Laight@...LAB.COM>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v2] net: usb: ax88179_178a: ax88179_rx_fixup corrections


On Tue, 2022-06-21 at 11:03 +0200, Paolo Abeni wrote:
> 
> Possibly a slightly more accurate adjustment would be:
> 
>         /* for last skb */
>         skb->truesize = SKB_TRUESIZE(pkt_len_buf);
> 
>         /* for other skbs */
>         skb->truesize = pkt_len_buf + SKB_DATA_ALIGN(sizeof(struct sk_buff);

For now I will use your suggestion and resend the patch.
I will think about David suggestions.

Thanks

Jose Alonso



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ