first of all I am coding it in Linux kernel 2.6 ... I have to read data payload of SKB structure (Struct sk_buff) and modify it ... now when i try to do this .. always kernel panics. Now .. what all
Why don't you use uml or kgdb for debugging. Makes life much easier. Atleast use ksymoops to give a sensible backtrace.
things do I have to take care of while doing this. The data payload is basically stored in pages .. so when i try to read or write into that page .. kernel goes to panic state. how can i do it?? i tried locatin page using kmap funtion ... n all ... then memcpy(), I also
What do you want to do exactly ? Modify skb->data ? Is kmap() needed here ?
tried using skb_copy finction to make skb "Writable" etc. but all in vain. I'll be really glad if someone
skb_copy() should give you a private copy to work with. Why does it fail ?
--Swapnil
PS: Also try the kernelnewbies list. Or linux-net if you are very desperate.
-- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: ([email protected]) List Information: http://plug.org.in/mailing-list/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
