]> git.baikalelectronics.ru Git - 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)
commitfffe2b6eaa9655d97b7399b8cfe005609a0b83a6
tree628719a9883321ada7fde842141a739565c51f5b
parent805a2525477dcd2685cb445f0f1d6eaaa0fac867
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