[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 990132: slirp: don't zero the whole ti_i when
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 990132: slirp: don't zero the whole ti_i when m == NULL |
Date: |
Mon, 13 Nov 2017 06:32:21 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 990132cda9baa27bdc558df6c9c15aacb0322d2c
https://github.com/qemu/qemu/commit/990132cda9baa27bdc558df6c9c15aacb0322d2c
Author: Tao Wu <address@hidden>
Date: 2017-11-09 (Thu, 09 Nov 2017)
Changed paths:
M slirp/tcp_subr.c
Log Message:
-----------
slirp: don't zero the whole ti_i when m == NULL
98c63057d2144fb81681580cd84c13c93794c96e ('slirp: Factorizing
tcpiphdr structure with an union') introduced a memset call to clear
possibly-undefined fields in ti. This however overwrites src/dst/pr which
are used below.
So let us clear only the unused fields.
This should fix some rare cases (some RST cases, keep alive probes)
where packets would be sent to 0.0.0.0.
Signed-off-by: Tao Wu <address@hidden>
Signed-off-by: Samuel Thibault <address@hidden>
Commit: 7edaf99759017d3e175e37cffc3536e86a3bd380
https://github.com/qemu/qemu/commit/7edaf99759017d3e175e37cffc3536e86a3bd380
Author: Peter Maydell <address@hidden>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Changed paths:
M slirp/tcp_subr.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into
staging
slirp updates
# gpg: Signature made Thu 09 Nov 2017 18:00:07 GMT
# gpg: using RSA key 0x9E511E01C737F075
# 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: 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: 9A37 3D36 64A8 DC62 DA0A 34FD 9E51 1E01 C737 F075
* remotes/thibault/tags/samuel-thibault:
slirp: don't zero the whole ti_i when m == NULL
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/f291910db61b...7edaf9975901
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 990132: slirp: don't zero the whole ti_i when m == NULL,
GitHub <=