ACK/cmnt: [PATCH 0/3][Artful] fix skb leak in vhost_net / tun / tap (30% perf regression)

Stefan Bader stefan.bader at canonical.com
Fri Feb 2 08:08:23 UTC 2018


On 19.12.2017 10:09, Fabian Grünbichler wrote:
> BugLink: https://bugs.launchpad.net/1738975
> 
> == SRU Justification ==
> 
> Impact: Up to 30% performance regression for traffic from hypervisor host to VM, caused by a memory leak
> 
> Fix: Cherry-picks from upstream stable tree to fix the memory leak
> 
> Regression Potential: Merged in 4.15 and 4.14.7, tested and verified by multiple people.
> 
> See https://lkml.kernel.org/r/<4c7e2924-b10f-0e97-c388-c8809ecfdeeb@linux.vnet.ibm.com> for the original report and extensive discussion
> See https://lkml.kernel.org/r/<1512123038-15773-1-git-send-email-wexu@redhat.com> for the patch series in question
> 
> Wei Xu (3):
>   vhost: fix skb leak in handle_rx()
>   tap: free skb if flags error
>   tun: free skb in early errors
> 
>  drivers/net/tap.c   | 14 ++++++++++----
>  drivers/net/tun.c   | 24 ++++++++++++++++++------
>  drivers/vhost/net.c | 20 ++++++++++----------
>  3 files changed, 38 insertions(+), 20 deletions(-)
> 

Reminder to fixup BugLink and origin of sha1 refererences.
Acked-by: Stefan Bader <stefan.bader at canonical.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180202/49b8039c/attachment.sig>


More information about the kernel-team mailing list