qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 99787f: slirp: Fix memory leak on small incom


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 99787f: slirp: Fix memory leak on small incoming ipv4 pack...
Date: Tue, 29 Mar 2016 12:00:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 99787f69cdd8147d0be67d71ec3058cce21e2444
      
https://github.com/qemu/qemu/commit/99787f69cdd8147d0be67d71ec3058cce21e2444
  Author: Samuel Thibault <address@hidden>
  Date:   2016-03-22 (Tue, 22 Mar 2016)

  Changed paths:
    M slirp/ip_input.c

  Log Message:
  -----------
  slirp: Fix memory leak on small incoming ipv4 packet

Signed-off-by: Samuel Thibault <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>


  Commit: c17c07231e88549169689ffba811e53921e10025
      
https://github.com/qemu/qemu/commit/c17c07231e88549169689ffba811e53921e10025
  Author: Samuel Thibault <address@hidden>
  Date:   2016-03-22 (Tue, 22 Mar 2016)

  Changed paths:
    M slirp/udp6.c

  Log Message:
  -----------
  slirp: send icmp6 errors when UDP send failed

Signed-off-by: Samuel Thibault <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>


  Commit: 67e3eee45460129cbc5a90fb9f74eb52594281cd
      
https://github.com/qemu/qemu/commit/67e3eee45460129cbc5a90fb9f74eb52594281cd
  Author: Samuel Thibault <address@hidden>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M slirp/if.c
    M slirp/mbuf.c
    M slirp/misc.c
    M slirp/misc.h
    M slirp/slirp.h

  Log Message:
  -----------
  Avoid embedding struct mbuf in other structures

struct mbuf uses a C99 open char array to allow inlining data. Inlining
this in another structure is however a GNU extension. The inlines used
so far in struct Slirp were actually only needed as head of struct
mbuf lists. This replaces these inline with mere struct quehead,
and use casts as appropriate.

Signed-off-by: Samuel Thibault <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>


  Commit: 1c3c8e954704cc70a8da2af3d14159b0d2f5c02b
      
https://github.com/qemu/qemu/commit/1c3c8e954704cc70a8da2af3d14159b0d2f5c02b
  Author: Peter Maydell <address@hidden>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M slirp/mbuf.h

  Log Message:
  -----------
  Use C99 flexible array instead of 1-byte trailing array

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Samuel Thibault <address@hidden>


  Commit: d8eb38649587c58d767c3bc6a1075bfeabda9e8a
      
https://github.com/qemu/qemu/commit/d8eb38649587c58d767c3bc6a1075bfeabda9e8a
  Author: Samuel Thibault <address@hidden>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M net/slirp.c
    M qapi-schema.json
    M qemu-options.hx

  Log Message:
  -----------
  Rework ipv6 options

Rename the recently-added ip6-foo options into ipv6-foo options, to make
them coherent with other ipv6 options.

Also rework the documentation.

Signed-off-by: Samuel Thibault <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: 5b8e6b4cc279e4434ddda94a6b2848834883ec9c
      
https://github.com/qemu/qemu/commit/5b8e6b4cc279e4434ddda94a6b2848834883ec9c
  Author: Peter Maydell <address@hidden>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M net/slirp.c
    M qapi-schema.json
    M qemu-options.hx
    M slirp/if.c
    M slirp/ip_input.c
    M slirp/mbuf.c
    M slirp/mbuf.h
    M slirp/misc.c
    M slirp/misc.h
    M slirp/slirp.h
    M slirp/udp6.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into 
staging

slirp updates

# gpg: Signature made Tue 29 Mar 2016 00:16:05 BST using RSA key ID FB6B2F1D
# gpg: Good signature from "Samuel Thibault <address@hidden>"
# gpg:                 aka "Samuel Thibault <address@hidden>"
# gpg:                 aka "Samuel Thibault <address@hidden>"
# gpg:                 aka "Samuel Thibault <address@hidden>"
# gpg:                 aka "Samuel Thibault <address@hidden>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 900C B024 B679 31D4 0F82  304B D017 8C76 7D06 9EE6
#      Subkey fingerprint: F632 74CD C630 0873 CB3D  29D9 E3E5 1CE8 FB6B 2F1D

* remotes/thibault/tags/samuel-thibault:
  Rework ipv6 options
  Use C99 flexible array instead of 1-byte trailing array
  Avoid embedding struct mbuf in other structures
  slirp: send icmp6 errors when UDP send failed
  slirp: Fix memory leak on small incoming ipv4 packet

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/7cd592bc6504...5b8e6b4cc279

reply via email to

[Prev in Thread] Current Thread [Next in Thread]