Thanks Mark.
very interesting
this helped me but just to get to next problem....
what I am trying to do is to receive frame using a packet handler,
manipulate it and send a portion of it over a UDP channel. I am using
sock_sendmsg. Things sort of work but I get some warnings while in
net_tx_action (via the sendmsg I am guessing) about doing scheduling
while in atomic and sometime the kernel simply completely crashes. All
this probably means that using kernel socket functions cannot be used
from any context.... Any suggestion on how to properly do this?
Ultimately, I'd like to avoid copying the data so if I could simply send
an skb to some UDP TX handler would be ideal but if not, what is the
best approach?
Thanks
Claude
Mark Smith wrote: