diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-06-25 07:05:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 21:03:30 -0700 |
commit | 604f6049ba2af86fe361d4cc320443d35b232df1 (patch) | |
tree | 21c5cc57e19fb477f86b67170c0eb1c0ff0fe1cf /drivers/net/sfc/efx.c | |
parent | 29046f9b1e36f6e3332ce2d8e366005fd177b37a (diff) |
sfc: Fix reading of inserted hash
The hash appears immediately before the packet data, not at the
beginning of the buffer. This means we can easily use negative offsets
from the start of packet data, so adjust the data and length at the
top of __efx_rx_packet() instead of wherever we consume the hash.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.c')
0 files changed, 0 insertions, 0 deletions