summaryrefslogtreecommitdiffhomepage
path: root/src/netlink.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-22 23:32:26 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-22 23:39:32 -0600
commit34babb386e6a22706ba7d4cdf35a8f112c14e3da (patch)
treea476d5a362adfa8f1fada1370967fc51d82b0bbd /src/netlink.c
parentb1e54709efcf75ec4db1b1985b12a7fbd949b48c (diff)
queueing: cleanup ptr_ring in error path of packet_queue_init
Prior, if the alloc_percpu of packet_percpu_multicore_worker_alloc failed, the previously allocated ptr_ring wouldn't be freed. This commit adds the missing call to ptr_ring_cleanup in the error case. Reported-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/netlink.c')
0 files changed, 0 insertions, 0 deletions