Re: Kernel - User Space transactions

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Tue Jul 11 2000 - 09:30:56 EST


In message <7BF58A904536D411ADD400508BC97B8506C7EE@xover1.netplane.com> you wri
te:
> Hi....
>
> I am intercepting incoming packets before they reach the IP stack in
> "dev.c", and need to get/put information from/to user space from
> dev.c.

You can't, really. You can't use copy_from_user or copy_to_user, as
you will not be in a process context. You'd need to do something
tricky...

Rusty.

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:13 EST