1
linux/net/packet
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
..
af_packet.c af_packet: use sizeof instead of constant in spkt_device 2012-06-11 16:51:51 -07:00
Kconfig packet: Kill CONFIG_PACKET_MMAP. 2010-02-05 16:29:48 -08:00
Makefile