summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@rivierawaves.com>2014-10-21 16:06:05 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-22 12:52:55 -0400
commita63ba13eec092b70d4e5522d692eaeb2f9747387 (patch)
treec96eb5ffac7c3908f6790d6ca2b156602478934d /drivers/net
parent8fc963515e893867330dec87464e9edc5204c024 (diff)
downloadlinux-a63ba13eec092b70d4e5522d692eaeb2f9747387.tar.bz2
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 <karl.beldan@rivierawaves.com> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions