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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190527075956.26f869ec@hermes.lan>
Date:   Mon, 27 May 2019 07:59:56 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Arun Kumar Neelakantam <aneela@...eaurora.org>
Cc:     netdev@...r.kernel.org,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Chris Lew <clew@...eaurora.org>
Subject: Re: netdev_alloc_skb is failing for 16k length

On Mon, 27 May 2019 12:21:51 +0530
Arun Kumar Neelakantam <aneela@...eaurora.org> wrote:

> Hi team,
> 
> we are using "skb = netdev_alloc_skb(NULL, len);" which is getting 
> failed sometimes for len = 16k.
> 
> I suspect mostly system memory got fragmented and hence atomic memory 
> allocation for 16k is failing, can you please suggest best way to handle 
> this failure case.
> 
> Thanks
> 
> Arun N
> 

If you are handling big frames, then put the data in page size chunks
and use build_skb.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ