]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
atm: br2684: Avoid alignment issues
authorPascal Hambourg <pascal@plouf.fr.eu.org>
Wed, 17 Aug 2011 06:37:52 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 05:28:06 +0000 (00:28 -0500)
commitbefc93fe76177b3b6ee1e3351b58293866f43aa6
tree628719a9883321ada7fde842141a739565c51f5b
parent9e667b29880df842085150d60e26c60f141fff44
atm: br2684: Avoid alignment issues

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

Signed-off-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
Signed-off-by: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/br2684.c