lkml.org 
[lkml]   [2004]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: modifying struct sk_buff
* 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/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.483 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site