diff options
author | danborkmann@iogearbox.net <danborkmann@iogearbox.net> | 2012-06-10 10:59:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-12 01:51:51 +0200 |
commit | de74e92aa8a44d0b80a53601dc4f6dd6afcb8453 (patch) | |
tree | fa880b187e38df3499e490b78f435e2c952c11c9 /drivers/mtd/nftlmount.c | |
parent | inet: Fix BUG triggered by __rt{,6}_get_peer(). (diff) | |
download | linux-de74e92aa8a44d0b80a53601dc4f6dd6afcb8453.tar.xz linux-de74e92aa8a44d0b80a53601dc4f6dd6afcb8453.zip |
af_packet: use sizeof instead of constant in spkt_device
This small patch removes access to the last element of the spkt_device
array through a constant. Instead, it is accessed by sizeof() to respect
possible changes in if_packet.h.
Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions