[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190328.173043.1507145017061525266.davem@davemloft.net>
Date: Thu, 28 Mar 2019 17:30:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jakub.kicinski@...ronome.com
Cc: oss-drivers@...ronome.com, netdev@...r.kernel.org
Subject: Re: [PATCH net 0/2] nfp: fix retcode and disable netpoll on
representors
From: Jakub Kicinski <jakub.kicinski@...ronome.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.kicinski@...ronome.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.
Powered by blists - more mailing lists