diff options
| author | Akihiko Odaki <[email protected]> | 2025-03-21 06:48:35 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-25 16:30:22 +0000 |
| commit | 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438 (patch) | |
| tree | 9f5d94182742fd6bde18c2efab6c1a04c13f3d66 /net/ipv6/tcp_ipv6.c | |
| parent | virtio_net: Use new RSS config structs (diff) | |
| download | kernel-4944be2f5ad8c74b93e4e272f3a0f1a136bbc438.tar.gz kernel-4944be2f5ad8c74b93e4e272f3a0f1a136bbc438.zip | |
virtio_net: Allocate rss_hdr with devres
virtnet_probe() lacks the code to free rss_hdr in its error path.
Allocate rss_hdr with devres so that it will be automatically freed.
Fixes: 86a48a00efdf ("virtio_net: Support dynamic rss indirection table size")
Signed-off-by: Akihiko Odaki <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Tested-by: Lei Yang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
