From: Ed Cashin Date: Wed, 19 Sep 2012 15:46:39 +0000 (+0000) Subject: aoe: assert AoE packets marked as requiring no checksum X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8babe8cc6570ed896b7b596337eb8fe730c3ff45;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git aoe: assert AoE packets marked as requiring no checksum 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 Signed-off-by: David S. Miller --- diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index de0435e63b02..887f68f6d79a 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -35,6 +35,7 @@ new_skb(ulong len) skb_reset_mac_header(skb); skb_reset_network_header(skb); skb->protocol = __constant_htons(ETH_P_AOE); + skb_checksum_none_assert(skb); } return skb; }