From: Jakub Kicinski <jakub.kicin...@netronome.com> Date: Thu, 28 Mar 2019 17:27:50 -0700
> On Thu, 28 Mar 2019 17:04:53 -0700 (PDT), David Miller wrote: >> From: Jakub Kicinski <jakub.kicin...@netronome.com> >> Date: Wed, 27 Mar 2019 11:38:37 -0700 >> >> > This series avoids a potential crash on nfp representor devices >> > when netpoll is in use. If transmitting the frame through underlying >> > vNIC fails we'd return an error code (by passing on error code from >> > __dev_queue_xmit()) and cause double free in netpoll code. >> > >> > Fix the error code and disable netpoll on reprs altogether. >> > IRQ-safety of locking the queues and calling __dev_queue_xmit() >> > is questionable. >> > >> > Big thanks to John Hurley for debugging and narrowing down >> > the trace log after I gave up! :) >> >> Series applied, thanks Jakub. >> >> Want me to queue these up for -stable? > > Mm.. yes, I think so, patch 1 can lead to a hard to catch double free. Ok, queued up.