netfilter: xt_physdev fixes
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 18 Feb 2009 18:11:39 +0000 (19:11 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 18 Feb 2009 18:11:39 +0000 (19:11 +0100)
commit4f1c3b7e7ee4d841c8af3a074dc361d6a7a77803
treeb6f0e6172806ee8ab3ec2f6442399322b9a89534
parentcfac5ef7b92a2d504563989ecd0beb563920444b
netfilter: xt_physdev fixes

1) physdev_mt() incorrectly assumes nulldevname[] is aligned on an int

2) It also uses word comparisons, while it could use long word ones.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_physdev.c