From: Karl Beldan Date: Tue, 21 Oct 2014 14:06:05 +0000 (+0200) Subject: net: tso: fix unaligned access to crafted TCP header in helper API X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~49 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63ba13eec092b70d4e5522d692eaeb2f9747387;p=pandora-kernel.git net: tso: fix unaligned access to crafted TCP header in helper API The crafted header start address is from a driver supplied buffer, which one can reasonably expect to be aligned on a 4-bytes boundary. However ATM the TSO helper API is only used by ethernet drivers and the tcp header will then be aligned to a 2-bytes only boundary from the header start address. Signed-off-by: Karl Beldan Cc: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed