[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140409.143655.2112963679697366338.davem@davemloft.net>
Date: Wed, 09 Apr 2014 14:36:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: kys@...rosoft.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, olaf@...fle.de, apw@...onical.com,
jasowang@...hat.com
Subject: Re: [PATCH net 3/3] Drivers: net: hyperv: Address UDP checksum
issues
From: KY Srinivasan <kys@...rosoft.com>
Date: Wed, 9 Apr 2014 18:08:47 +0000
> Thanks Dave. I will COW the SKB before changing the checksum
> value. I do have a question though. I looked at a bunch of hardware
> drivers and they modify the header information, specially checksum
> field and I could not see where they had COWed the skb. I was
> grepping for skb_cow in these drivers.
Look for skb_cow_head(), for example, the tg3.c driver uses this.
--
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