Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jan 2011
Communicate with rtnetlink in interrupt mode
Linux version: 184.108.40.206 GNU/LINUX
When an incoming packet (ipv4) is being processed in the interrupt mode in linux kernel I need to send a request to rtnetlink (socket) to install a route in the ipv4 routing table. I found out that some functions that get executed in that code path can not be called when running in the interrupt conext as the may sleep. I.e, copy_from_user.
What is the best option to get around this issue? Any help would be appreciated.