Ivan Malov c4ea98c42d net/sfc/base: 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.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-09-28 01:41:02 +02:00
..
2018-07-12 12:24:37 +02:00
2018-07-04 21:50:32 +02:00
2018-01-22 01:26:49 +01:00
2018-04-14 00:43:30 +02:00
2018-07-04 21:50:32 +02:00
2018-04-27 18:00:59 +01:00
2018-04-27 18:00:59 +01:00