diff options
author | 2017-12-02 21:31:04 -0500 | |
---|---|---|
committer | 2017-12-02 21:31:04 -0500 | |
commit | 7344ba039f4fc5fb18be5618199827e246b0c697 (patch) | |
tree | dc7a2620476bf2716201f858f342f3b389cdfae2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'bnxt_en-fixes' (diff) | |
parent | tap: free skb if flags error (diff) | |
download | linux-dev-7344ba039f4fc5fb18be5618199827e246b0c697.tar.xz linux-dev-7344ba039f4fc5fb18be5618199827e246b0c697.zip |
Merge branch 'vhost-skb-leaks'
Wei Xu says:
====================
vhost: fix a few skb leaks
Matthew found a roughly 40% tcp throughput regression with commit
c67df11f(vhost_net: try batch dequing from skb array) as discussed
in the following thread:
https://www.mail-archive.com/netdev@vger.kernel.org/msg187936.html
v4:
- fix zero iov iterator count in tap/tap_do_read()(Jason)
- don't put tun in case of EBADFD(Jason)
- Replace msg->msg_control with new 'skb' when calling tun/tap_do_read()
v3:
- move freeing skb from vhost to tun/tap recvmsg() to not
confuse the callers.
v2:
- add Matthew as the reporter, thanks matthew.
- moving zero headcount check ahead instead of defer consuming skb
due to jason and mst's comment.
- add freeing skb in favor of recvmsg() fails.
====================
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions