danborkmann@iogearbox.net de74e92aa8 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>
2012-06-11 16:51:51 -07:00
..
2012-06-04 11:45:11 -04:00
2012-04-25 19:47:17 -04:00
2012-05-17 04:50:21 -04:00
2012-06-04 11:45:11 -04:00
2012-04-15 12:44:40 -04:00
2012-06-04 11:45:11 -04:00
2012-05-17 18:45:20 -04:00
2012-05-17 04:50:21 -04:00
2012-06-11 02:08:59 -07:00
2012-06-04 11:45:11 -04:00
2012-06-09 19:06:21 -07:00
2012-05-27 01:11:22 -04:00