Re: [2/2] [NET] Add skb_header_cloned and use it in e1000/tg3
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-02-09 05:09:10
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-02-09 05:09:10
On Sat, 29 Jan 2005 14:22:10 +1100 Herbert Xu [off-list ref] wrote:
This patch adds skb_header_cloned which tells us whether we need to copy the data before we can modify the header part of the skb. Again, what constitutes the header is left up to the users of the skb to define. This patch then uses this function in e1000/tg3 to copy the data before the TCP/IP header is modified. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
These two patches look great. I want to review them some more but I do intend to try and get them into 2.6.11-final.