netdev
[Top] [All Lists]

Re: [PATCH] add likely/unlikely to pskb_may_pull

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] add likely/unlikely to pskb_may_pull
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 30 Jul 2003 16:53:19 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030730161854.3cb03258.shemminger@osdl.org>
References: <20030730161854.3cb03258.shemminger@osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 30 Jul 2003 16:18:54 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Code that deals with received headers needs to be robust and use 
> pskb_may_pull in many
> places, but except in the case of DOS attacks, the packets are always 
> correctly formed
> so optimize for that case.

Applied, thanks Stephen.

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