diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-29 03:04:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 03:04:29 +0300 |
commit | 577dd43a17b2586bded5b691f30a853e35014a69 (patch) | |
tree | 209ec324c54aa74710dbf84a70c32e15337b4ad1 /net/openvswitch/flow_netlink.c | |
parent | 355b98553789b646ed97ad801a619ff898471b92 (diff) | |
parent | c3e1f7fff69c78169c8ac40cc74ac4307f74e36d (diff) | |
download | linux-577dd43a17b2586bded5b691f30a853e35014a69.tar.xz |
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/openvswitch/flow_netlink.c')
0 files changed, 0 insertions, 0 deletions