diff options
| author | Daniel Jurgens <[email protected]> | 2024-05-15 16:31:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-05-17 02:37:41 +0000 |
| commit | fa033def4171d2e4e29d5e3714fb2a5b1fc077e8 (patch) | |
| tree | acec73d23b4989f3f422e5e0a8f36e54f9642016 /scripts/generate_rust_target.rs | |
| parent | netrom: fix possible dead-lock in nr_rt_ioctl() (diff) | |
| download | kernel-fa033def4171d2e4e29d5e3714fb2a5b1fc077e8.tar.gz kernel-fa033def4171d2e4e29d5e3714fb2a5b1fc077e8.zip | |
virtio_net: Fix missed rtnl_unlock
The rtnl_lock would stay locked if allocating promisc_allmulti failed.
Also changed the allocation to GFP_KERNEL.
Fixes: ff7c7d9f5261 ("virtio_net: Remove command data from control_buf")
Reported-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/netdev/CANn89iLazVaUCvhPm6RPJJ0owra_oFnx7Fhc8d60gV-65ad3WQ@mail.gmail.com/
Signed-off-by: Daniel Jurgens <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
