Messages in this thread | | | Date | Thu, 09 May 2019 09:22:34 -0700 (PDT) | Subject | Re: [PATCH net V3 1/2] tuntap: fix dividing by zero in ebpf queue selection | From | David Miller <> |
| |
From: Jason Wang <jasowang@redhat.com> Date: Wed, 8 May 2019 23:20:17 -0400
> We need check if tun->numqueues is zero (e.g for the persist device) > before trying to use it for modular arithmetic. > > Reported-by: Eric Dumazet <eric.dumazet@gmail.com> > Fixes: 96f84061620c6("tun: add eBPF based queue selection method") > Signed-off-by: Jason Wang <jasowang@redhat.com>
Applied and queued up for -stable.
| |