mirror of
https://github.com/torvalds/linux.git
synced 2026-07-07 21:56:46 +02:00
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> |
||
|---|---|---|
| .. | ||
| af_packet.c | ||
| Kconfig | ||
| Makefile | ||