diff options
| author | [email protected] <[email protected]> | 2012-06-10 08:59:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-06-11 16:51:51 -0700 |
| commit | de74e92aa8a44d0b80a53601dc4f6dd6afcb8453 (patch) | |
| tree | fa880b187e38df3499e490b78f435e2c952c11c9 /scripts/objdiff | |
| parent | 55afabaa0df0dd139c8796a71beb43d1216fbe43 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions