freebsd-skq/sys/dev/sfxge
Andrew Rybchenko 94a7dab5bf sfxge(4): check buffer size for hash flags
The efx_rx_scale_hash_flags_get interface is unsafe, as it does not
have an argument for the size of the output buffer used to return
the flags. While the only caller currently supplies a sufficiently
large buffer, this should be checked at runtime to avoid writing
past the end of the buffer.

Submitted by:   Ivan Malov <ivan.malov at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18267
2018-11-30 07:07:09 +00:00
..
common sfxge(4): check buffer size for hash flags 2018-11-30 07:07:09 +00:00
sfxge_dma.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
sfxge_ev.c
sfxge_intr.c
sfxge_ioc.h
sfxge_mcdi.c
sfxge_nvram.c sfxge(4): extend NVRAM RW finish to return verify result 2018-11-23 10:20:32 +00:00
sfxge_port.c sfxge(4): remove MAC stats size define 2018-11-27 14:16:14 +00:00
sfxge_rx.c sfxge(4): control RxQ scatter using flag instead of type 2018-11-24 18:13:07 +00:00
sfxge_rx.h
sfxge_tx.c sfxge(4): add outer IP ID parameter to TSOv2 descriptor 2018-11-28 09:25:43 +00:00
sfxge_tx.h
sfxge_version.h
sfxge.c sfxge(4): support choosing firmware variant 2018-11-29 06:43:00 +00:00
sfxge.h sfxge(4): report memory BAR number 2018-11-27 12:59:43 +00:00