From: Stephen Hemminger <[EMAIL PROTECTED]>
Date: Sat, 15 Jul 2006 08:50:58 -0700

> Since skb->cb is aligned, we could optimize the initialization
> slightly by just using:
>     *(unsigned long *)skb->cb = 0;

Well, that depends upon two things.

1) How much of the ip_options really needs to be zero'd
   out initially.  From what I can tell, all 3 words really
   need it.

2) How big is an unsigned long on your computer?  It can be
   1 or 2 words, but not three :)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to