Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8babe8cc authored by Ed L. Cashin's avatar Ed L. Cashin Committed by David S. Miller
Browse files

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: default avatarEd Cashin <ecashin@coraid.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3cfc1590
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}