diff options
author | Karl Beldan <karl.beldan@rivierawaves.com> | 2014-10-21 16:06:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-22 12:52:55 -0400 |
commit | a63ba13eec092b70d4e5522d692eaeb2f9747387 (patch) | |
tree | c96eb5ffac7c3908f6790d6ca2b156602478934d /drivers/net/ethernet/freescale | |
parent | 8fc963515e893867330dec87464e9edc5204c024 (diff) | |
download | linux-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/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions