diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-28 17:04:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-28 17:04:29 -0700 |
commit | 577dd43a17b2586bded5b691f30a853e35014a69 (patch) | |
tree | 209ec324c54aa74710dbf84a70c32e15337b4ad1 /net | |
parent | 355b98553789b646ed97ad801a619ff898471b92 (diff) | |
parent | c3e1f7fff69c78169c8ac40cc74ac4307f74e36d (diff) |
Merge branch 'nfp-fix-retcode-and-disable-netpoll-on-representors'
Jakub Kicinski says:
====================
nfp: fix retcode and disable netpoll on representors
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! :)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions