[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1337102266.8220.6.camel@oc3660625478.ibm.com>
Date: Tue, 15 May 2012 10:17:46 -0700
From: Shirley Ma <mashirle@...ibm.com>
To: Jason Wang <jasowang@...hat.com>
Cc: eric.dumazet@...il.com, mst@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
davem@...emloft.net
Subject: Re: [V2 PATCH 1/9] macvtap: zerocopy: fix offset calculation when
building skb
On Wed, 2012-05-02 at 11:41 +0800, Jason Wang wrote:
> This patch fixes the offset calculation when building skb:
>
> - offset1 were used as skb data offset not vector offset
> - reset offset to zero only when we advance to next vector
I tested the original code in all scenario, it worked well.
However this patch makes the code more clear.
Thanks
Shirley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists