Hi All,
While going through skbuff.h i found the inline function
skb_shared(const struct sk_buff *skb) defined as ...
{
return atomic_read(&skb_users) != 1;
}
The function checks if the skb buffer is shared between more than one person.
shouldn't this be instead
{
return atomic_read(&skb_users) > 1;
}
It looks more appropriate, i guess.
What am i missing something here?
The kernel i am using is 2.6.20.1.
Any help?
Thanks in advance
~psr
--
play the game
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html