* [uml-devel] Implementing 802.11...
@ 2004-05-14 18:24 maria maria
2004-05-20 0:50 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: maria maria @ 2004-05-14 18:24 UTC (permalink / raw)
To: user-mode-linux-devel
Hi,
I'm developing an implementation of 802.11 inside
UML, to make it able to emulate a wireless lan.
I'm modifing the "daemon_read" and "daemon_write"
functions inside "daemon_kern.c".
In "daemon_write":
before to send a packet, I enlarge it and I insert the
new 802.11 header. Then I put it in a list of sk_buff,
and if the channel is free, I send the packet. By now
I'm just triing to put the sk_buff packet in a list
and to send it immediatly, whithout run a collision
avoidance algorithm.
In "daemon_read"
At the arrival of a packet, I extract the 802.11
header, I compress the packet deleting the bytes
concerning the 802.11 header, and I manage the packet
following the protocol (send ack or cts, etc...)
By now it just sends an ACK for each not broadcast
packet it receives.
My question is: I'm having some problems in managing
the sk_buff structures: using the functions in
sk_buff.h, I have a kernel panic :
Warning: kfree_skb passed an skb still on a list (from
a0126b3b)
Kernel panic: kernel BUG at skbuff.c:316!
Does someone have some idea about the cause of this
problem?
Thank in advance,
Maria
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
http://companion.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] Implementing 802.11...
2004-05-14 18:24 [uml-devel] Implementing 802.11 maria maria
@ 2004-05-20 0:50 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2004-05-20 0:50 UTC (permalink / raw)
To: maria maria; +Cc: user-mode-linux-devel
for_spam2004@yahoo.it said:
> Warning: kfree_skb passed an skb still on a list (from a0126b3b)
> Kernel panic: kernel BUG at skbuff.c:316!
>
> Does someone have some idea about the cause of this problem?
If you aren't familiar with skbuff management, you should probably find
some driver that's similar to yours, and just copy how it does things.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-20 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14 18:24 [uml-devel] Implementing 802.11 maria maria
2004-05-20 0:50 ` Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox