netdev
[Top] [All Lists]

Re: [PATCH] consolidate skb delivery

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] consolidate skb delivery
From: Andi Kleen <ak@xxxxxxx>
Date: Thu, 2 Oct 2003 21:25:46 +0200
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20031002102133.7285b5ee.shemminger@osdl.org>
References: <20031002102133.7285b5ee.shemminger@osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
> +static __inline__ int deliver_skb(struct sk_buff *skb,
> +                               struct packet_type *pt_prev, int last)
> +{
> +     if (unlikely(!pt_prev->data))
> +             return deliver_to_old_ones(pt_prev, skb, last);

Are there even any old style protocols left? If not you could just make
it BUG() 

-Andi

<Prev in Thread] Current Thread [Next in Thread>