]> 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)
commit667905d1b42eb23ccab52f4fda145d31ad1c0b8d
tree628719a9883321ada7fde842141a739565c51f5b
parent09698a69224f75c3bea4870cb2e312d91c297f3e
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