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: <1484715738.13165.95.camel@edumazet-glaptop3.roam.corp.google.com>
Date:   Tue, 17 Jan 2017 21:02:18 -0800
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     Yuusuke Ashiduka <ashiduka@...fujitsu.com>
Cc:     fugang.duan@....com, netdev@...r.kernel.org
Subject: Re: [PATCH v2] net: fec: Fixed panic problem with non-tso

On Wed, 2017-01-18 at 13:11 +0900, Yuusuke Ashiduka wrote:
> If highmem and 2GB or more of memory are valid,
> "this_frag-> page.p" indicates the highmem area,
> so the result of page_address() is NULL and panic occurs.
> 
> This commit fixes this by using the skb_frag_dma_map() helper,
> which takes care of mapping the skb fragment properly. Additionally,
> the type of mapping is now tracked, so it can be unmapped using
> dma_unmap_page or dma_unmap_single when appropriate.


I would prefer we fix the root cause, instead of tweaking all legacy
drivers out there :/



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ