Skip to content
Commit befc93fe authored by Pascal Hambourg's avatar Pascal Hambourg Committed by David S. Miller
Browse files

atm: br2684: Avoid alignment issues



Use memcmp() instead of cast to u16 when checking the PAD field.

Signed-off-by: default avatarPascal Hambourg <pascal@plouf.fr.eu.org>
Signed-off-by: default avatarchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e667b29
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