[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190509.092234.285409406486740265.davem@davemloft.net>
Date: Thu, 09 May 2019 09:22:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
yuehaibing@...wei.com, xiyou.wangcong@...il.com,
weiyongjun1@...wei.com, eric.dumazet@...il.com
Subject: Re: [PATCH net V3 1/2] tuntap: fix dividing by zero in ebpf queue
selection
From: Jason Wang <jasowang@...hat.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@...il.com>
> Fixes: 96f84061620c6("tun: add eBPF based queue selection method")
> Signed-off-by: Jason Wang <jasowang@...hat.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists