From: Bart Trojanowski <bart@jukie.net>
To: Sharma Sushant <sushant@cs.unm.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: modifying struct sk_buff
Date: Fri, 4 Jun 2004 16:05:22 -0400 [thread overview]
Message-ID: <20040604200522.GM29389@jukie.net> (raw)
In-Reply-To: <Pine.LNX.4.56.0406041233120.6320@chawla.cs.unm.edu>
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
* Sharma Sushant <sushant@cs.unm.edu> [040604 14:48]:
> > uint32_t skBufId; /* by sushant */
> > char cb[48];
>
> skBufId is the variable i added and I want to assign unique value
> to this id whenever alloc_skb is called.
> Do you think it will be fine to modify alloc_skb(..)
> and just assigning a unique value to this new variable which I added
> or will there be some side effects of this.
Looks like you can start using skBufId anytime after memset(skb, ...)
call. I didn't look at the version of the sources you are using. In
2.4.7-rc2 it looks fine.
-Bart
--
WebSig: http://www.jukie.net/~bart/sig/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-06-04 20:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-04 1:03 modifying struct sk_buff Sushant Sharma
2004-06-04 12:36 ` Bart Trojanowski
2004-06-04 18:47 ` Sharma Sushant
2004-06-04 20:05 ` Bart Trojanowski [this message]
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=20040604200522.GM29389@jukie.net \
--to=bart@jukie.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sushant@cs.unm.edu \
/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