[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170117.154512.612465430064515761.davem@davemloft.net>
Date: Tue, 17 Jan 2017 15:45:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ashiduka@...fujitsu.com
Cc: fugang.duan@....com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: fec: Fixed panic problem with non-tso
From: Yuusuke Ashiduka <ashiduka@...fujitsu.com>
Date: Tue, 17 Jan 2017 16:48:20 +0900
> 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.
This patch submission is lacking a proper signoff.
Powered by blists - more mailing lists