David Kimdon <[EMAIL PROTECTED]> wrote:
> 
> --- linux-2.4.x/net/core/skbuff.c
> +++ linux-2.4.x/net/core/skbuff.c
> @@ -216,6 +216,9 @@
>        atomic_set(&(skb_shinfo(skb)->dataref), 1);
>        skb_shinfo(skb)->nr_frags = 0;
>        skb_shinfo(skb)->frag_list = NULL;
> +#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
> +       skb->nf_bridge = NULL;
> +#endif

This is unnecessary since the whole skb has just been zeroed.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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