diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-29 01:04:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 01:04:29 +0100 |
commit | 577dd43a17b2586bded5b691f30a853e35014a69 (patch) | |
tree | 209ec324c54aa74710dbf84a70c32e15337b4ad1 /net | |
parent | netns: provide pure entropy for net_hash_mix() (diff) | |
parent | nfp: disable netpoll on representors (diff) | |
download | linux-577dd43a17b2586bded5b691f30a853e35014a69.tar.xz linux-577dd43a17b2586bded5b691f30a853e35014a69.zip |
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