Skip to content
Commit 7fefe6a8 authored by Vincent CUISSARD's avatar Vincent CUISSARD Committed by David S. Miller
Browse files

cdc-eem: bad crc checking



When the driver received an EEM packet with CRC option enabled, driver must
compute and check the CRC of the Ethernet data. Previous version computes CRC
on Ethernet data plus the original CRC value. Skbuff is correctly trimed but
the old length is used when CRC is computed.

Signed-off-by: default avatarVincent CUISSARD <vincent.cuissard@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 869f1c54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment