| To: | jmorris@xxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] skb_headlen() cleanup |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Sun, 06 Apr 2003 23:58:58 -0700 (PDT) |
| Cc: | kuznet@xxxxxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <Mutt.LNX.4.44.0304070230370.26415-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <Mutt.LNX.4.44.0304070230370.26415-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
Date: Mon, 7 Apr 2003 02:34:34 +1000 (EST)
A few bits of code in the drivers and networking are using:
skb->len - skb->data_len
which is what skb_headlen() calculates.
The patch below (against recent 2.5 bk) converts these to use
skb_headlen().
Applied, thanks James.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [fw@xxxxxxxxxxxxx: Route cache performance under stress], Robert Olsson |
|---|---|
| Next by Date: | identification field in ip datagrams, Chris Brookes |
| Previous by Thread: | [PATCH] skb_headlen() cleanup, James Morris |
| Next by Thread: | identification field in ip datagrams, Chris Brookes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |