netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Buster Holzbauer <gnomish_barbarian@yahoo.com>
To: netdev@vger.kernel.org
Subject: Checksum Question about new sk_buffs
Date: Wed, 22 Jul 2009 12:42:11 -0700 (PDT)	[thread overview]
Message-ID: <362475.96996.qm@web30508.mail.mud.yahoo.com> (raw)


Hello,

I am a researcher at a university working on a new protocol based off of TCP, using the 2.6.26.5 kernel on a pair of gentoo machines. I need to send additional sk_buffs containing redundancy information as well as the sk_buffs TCP would normally send containing data. 

The redundancy sk_buffs are constructed by a function called by tcp_push (). I create these sk_buffs by calling sk_stream_alloc_skb(), then updating a few fields in the header (such as sequence number), but I'm clearly doing something wrong or missing a step. I believe this because after adding a printk to the csum_error label in tcp_rcv_established, the receiver-side logs show that these redundancy sk_buffs are triggering this label. The normal data sk_buffs, as expected, do not trigger this printk.

Does anyone have any information about the specific steps to create a new sk_buff, update header fields, and populate it with data so that the receiver processes the sk_buff correctly? 

Thanks in advance for any help you can provide,
Buster Holzbauer




      

                 reply	other threads:[~2009-07-22 19:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=362475.96996.qm@web30508.mail.mud.yahoo.com \
    --to=gnomish_barbarian@yahoo.com \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).