mirror of
https://github.com/torvalds/linux.git
synced 2026-09-19 09:08:02 +02:00
rss_indir_user and rss_hkey_user are allocated and filled in
__set_rss_rxfh() when the user configures RSS via ethtool, but
nothing ever reads them. hinic_get_rxfh() fetches the state from
the device, and the hardware is programmed from the original
indir/key arguments. These buffers only leaked on driver unload.
Drop the unused allocations, memcpys, and struct fields.
Fixes:
|
||
|---|---|---|
| .. | ||
| hinic | ||
| hinic3 | ||
| Kconfig | ||
| Makefile | ||