[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210118182044.26d59491@hermes.local>
Date: Mon, 18 Jan 2021 18:20:44 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Raju Rangoju <rajur@...lsio.com>
Cc: netdev@...r.kernel.org, hch@....de, rahul.lakkireddy@...lsio.com
Subject: Re: how to determine if buffers are in user-space/kernel-space
On Mon, 18 Jan 2021 23:56:37 +0530
Raju Rangoju <rajur@...lsio.com> wrote:
> Hi,
>
> We have an out-of-tree kernel module which was using
> segment_eq(get_fs(), KERNEL_DS) to determine whether buffers are in
> Kernel space vs User space. However, with the get_fs() and its friends
> removed[1], we are out of ideas on how to determine if buffers are in
> user space or kernel space. Can someone shed some light on how to
> accomplish it?
>
Sorry, you are asking in the wrong place. Supporting any out of
tree modules is completely your own problem to deal with.
Powered by blists - more mailing lists