aoe: assert AoE packets marked as requiring no checksum
authorEd Cashin <ecashin@coraid.com>
Wed, 19 Sep 2012 15:46:39 +0000 (15:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:38:46 +0000 (05:38 +0900)
commitfa9a48a7bed7d785a98356d4d06090500ec00c82
tree3d66c31d2335fa45e983ca28ebf4aec5177782e0
parent2583c9724757046ed749ec7d1fef2e371b02f203
aoe: assert AoE packets marked as requiring no checksum

[ Upstream commit 8babe8cc6570ed896b7b596337eb8fe730c3ff45 ]

In order for the network layer to see that AoE requires
no checksumming in a generic way, the packets must be
marked as requiring no checksum, so we make this requirement
explicit with the assertion.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/aoe/aoecmd.c