linux-um archives
 help / color / mirror / Atom feed
From: "maria maria" <for_spam2004@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Implementing 802.11...
Date: Fri, 14 May 2004 20:24:47 +0200 (CEST)	[thread overview]
Message-ID: <20040514182447.56774.qmail@web25106.mail.ukl.yahoo.com> (raw)

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

             reply	other threads:[~2004-05-14 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14 18:24 maria maria [this message]
2004-05-20  0:50 ` [uml-devel] Implementing 802.11 Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040514182447.56774.qmail@web25106.mail.ukl.yahoo.com \
    --to=for_spam2004@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox