Re: [PATCH net 0/2] nfp: fix retcode and disable netpoll on representors

2019-03-28 Thread David Miller
From: Jakub Kicinski 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 >> 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 tr

Re: [PATCH net 0/2] nfp: fix retcode and disable netpoll on representors

2019-03-28 Thread Jakub Kicinski
On Thu, 28 Mar 2019 17:04:53 -0700 (PDT), David Miller wrote: > From: Jakub Kicinski > 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 a

Re: [PATCH net 0/2] nfp: fix retcode and disable netpoll on representors

2019-03-28 Thread David Miller
From: Jakub Kicinski 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 caus

[PATCH net 0/2] nfp: fix retcode and disable netpoll on representors

2019-03-27 Thread Jakub Kicinski
Hi! 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 n