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]
Date:   Thu, 10 Sep 2020 12:40:38 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     lorenzo@...nel.org
Cc:     netdev@...r.kernel.org, lorenzo.bianconi@...hat.com,
        kuba@...nel.org, thomas.petazzoni@...tlin.com, brouer@...hat.com,
        echaudro@...hat.com
Subject: Re: [PATCH net-next] net: mvneta: rely on MVNETA_MAX_RX_BUF_SIZE
 for pkt split in mvneta_swbm_rx_frame()

From: Lorenzo Bianconi <lorenzo@...nel.org>
Date: Tue,  8 Sep 2020 20:23:31 +0200

> In order to easily change the rx buffer size, rely on
> MVNETA_MAX_RX_BUF_SIZE instead of PAGE_SIZE in mvneta_swbm_rx_frame
> routine for rx buffer split. Currently this is not an issue since we set
> MVNETA_MAX_RX_BUF_SIZE to PAGE_SIZE - MVNETA_SKB_PAD but it is a good to
> have to configure a different rx buffer size.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@...nel.org>

Applied, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ