Skip to contentSkip to conversation

Slirp patches

GIT PULL Marc-André Lureau 3 participants 4 messages Mar 20, 2020 – Mar 21, 2020

lore
Share & tools
lore
#0 lore raw

The following changes since commit f57587c7d47b35b2d9b31def3a74d81bdb5475d7:

Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-03-17' into staging (2020-03-19 10:18:07 +0000)

are available in the Git repository at:

https://github.com/elmarco/qemu.git tags/slirp-pull-request

for you to fetch changes up to aa63573a84c92b14c23f557fcc93a12b1a93c187:

slirp: update submodule to v4.2.0+ (2020-03-20 16:50:12 +0100)

----------------------------------------------------------------

----------------------------------------------------------------

Marc-André Lureau (1):
slirp: update submodule to v4.2.0+

 slirp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.25.0.rc2.1.g09a9a1a997
#1 lore raw

[PULL v2 1/1] slirp: update submodule to v4.2.0+

git shortlog 126c04acbabd7ad32c2b018fe10dfac2a3bc1210..99e9d4d9e6695d2f41b178d6ae03aaba842fb562

5eraph (1):
Use specific outbound IP address

Akihiro Suda (8):
remove confusing comment that exists from ancient slirp add slirp_new(SlirpConfig *, SlirpCb *, void *) allow custom MTU
add disable_host_loopback (prohibit connections to 127.0.0.1) add SlirpConfig version
emu: remove dead code
emu: disable by default
fix a typo in a comment

Anders Waldenborg (1):
state: fix loading of guestfwd state

Giuseppe Scrivano (1):
socket: avoid getpeername after shutdown(SHUT_WR)

Jindrich Novy (1):
Don't leak memory when reallocation fails.

Jordi Pujol Palomer (1):
fork_exec: correctly parse command lines that contain spaces

Marc-André Lureau (59):
Merge branch 'AkihiroSuda/libslirp-slirp4netns'
Merge branch 'fix-typo' into 'master'
meson: make it subproject friendly
Merge branch 'meson' into 'master'
misc: fix compilation warnings
Merge branch 'fix-shutdown-wr' into 'master'
sbuf: remove unused and undefined sbcopy() path
sbuf: check more strictly sbcopy() bounds with offset
sbuf: replace a comment with a runtime warning
Replace remaining malloc/free user with glib
tcp_attach() can no longer fail
state: can't ENOMEM
sbuf: use unsigned types
sbuf: simplify sbreserve()
dnssearch: use g_strv_length()
vmstate: silence scan-build warning
gitlab-ci: run scan-build
Merge branch 'mem-cleanups' into 'master'
libslirp.map: bind slirp_new to SLIRP_4.1 version
meson: fix libtool versioning
Release v4.1.0
Merge branch '4.1.0' into 'master'
CHANGELOG: start unreleased section
Merge branch 'add-unix' into 'master'
util: add G_SIZEOF_MEMBER() macro
Check bootp_filename is not going to be truncated
bootp: remove extra cast
bootp: replace simple snprintf() with strcpy()
tftp: clarify what is actually OACK m_len
tcp_emu: add more fixme/warnings comments
util: add slirp_fmt() helpers
dhcpv6: use slirp_fmt()
misc: use slirp_fmt0()
tftp: use slirp_fmt0()
tcp_ctl: use slirp_fmt()
tcp_emu: fix unsafe snprintf() usages
misc: improve error report
Use g_snprintf()
util: add gnuc format function attribute to slirp_fmt*
Merge branch 'aw-guestfwd-state' into 'master'
Merge branch 'slirp-fmt' into 'master'
socket: remove extra label and variable
socket: factor out sotranslate ipv4/ipv6 handling
socket: remove need for extra scope_id variable
socket: do not fallback on host loopback if get_dns_addr() failed
socket: do not fallback on loopback addr for addresses in our mask/prefix Prepare for v4.2.0 release
Merge branch 'translate-fix' into 'master'
Merge branch 'release-v4.2.0' into 'master'
changelog: post-release
changelog: fix link
.gitlab-ci: add --werror, treat CI build warnings as errors Revert "socket: remove need for extra scope_id variable" Teach slirp_version_string() to return vcs version
Merge branch 'mingw-fix' into 'master'
Merge branch 'vcs-version' into 'master'
meson: bump required version to 0.49
build-sys: fix NetBSD build regression
Merge branch 'netbsd-fix' into 'master'

PanNengyuan (1):
libslirp: fix NULL pointer dereference in tcp_sockclosed

Philippe Mathieu-Daudé (1):
Add a git-publish configuration file

Prasad J Pandit (4):
slirp: ncsi: compute checksum for valid data length
slirp: use correct size while emulating IRC commands
slirp: use correct size while emulating commands
slirp: tftp: restrict relative path access

Renzo Davoli (2):
Add slirp_remove_guestfwd()
Add slirp_add_unix()

Samuel Thibault (14):
ip_reass: explain why we should not always update the q pointer Merge branch 'comment' into 'master'
Merge branch 'no-emu' into 'master'
Fix bogus indent, no source change
ip_reass: Fix use after free
Merge branch 'reass2' into 'master'
Make host receive broadcast packets
arp: Allow 0.0.0.0 destination address
Merge branch 'warnings' into 'master'
Merge branch 'arp_0' into 'master'
Merge branch 'broadcast' into 'master'
tcp_emu: Fix oob access
Merge branch 'oob' into 'master'
Merge branch 'master' into 'master'

---
 slirp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
slirp +1 -1
index 126c04acba..99e9d4d9e6 160000
@@ -1 +1 @@
-Subproject commit 126c04acbabd7ad32c2b018fe10dfac2a3bc1210
+Subproject commit 99e9d4d9e6695d2f41b178d6ae03aaba842fb562
Signature · 1 line
2.25.0.rc2.1.g09a9a1a997
#2 lore raw
In reply to Marc-André Lureau
Patchew URL: https://patchew.org/QEMU/[email protected]/

Patchew URL: https://patchew.org/QEMU/[email protected]/

Hi,

This series seems to have some coding style problems. See output below for more information:

Subject: [PULL v2 0/1] Slirp patches
Message-id: [email protected]
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
ca00178 slirp: update submodule to v4.2.0+

=== OUTPUT BEGIN ===
ERROR: Missing Signed-off-by: line(s)

total: 1 errors, 0 warnings, 2 lines checked

Commit ca0017831606 (slirp: update submodule to v4.2.0+) has style problems, please review. If any of these errors are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===

Test command exited with code: 1

The full log is available at
http://patchew.org/logs/[email protected]/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]

#3 lore raw
In reply to Marc-André Lureau
Quoted 15 lines · Marc-André Lureau

The following changes since commit f57587c7d47b35b2d9b31def3a74d81bdb5475d7:

Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-03-17' into staging (2020-03-19 10:18:07 +0000)

are available in the Git repository at:

https://github.com/elmarco/qemu.git tags/slirp-pull-request

for you to fetch changes up to aa63573a84c92b14c23f557fcc93a12b1a93c187:

slirp: update submodule to v4.2.0+ (2020-03-20 16:50:12 +0100)

----------------------------------------------------------------

Quoted 7 lines

----------------------------------------------------------------

Marc-André Lureau (1):
slirp: update submodule to v4.2.0+

 slirp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Hi; this fails to build on most platforms (though it works on the BSDs, oddly):

/home/ubuntu/qemu/slirp/src/version.c: In function ‘slirp_version_string’:
/home/ubuntu/qemu/slirp/src/version.c:7:12: error:
‘SLIRP_VERSION_STRING’ undeclared (first use in this function); did you mean ‘LIBSLIRP_VERSION_H_’?

     return SLIRP_VERSION_STRING;
            ^~~~~~~~~~~~~~~~~~~~
            LIBSLIRP_VERSION_H_

/home/ubuntu/qemu/slirp/src/version.c:7:12: note: each undeclared identifier is reported only once for each function it appears in /home/ubuntu/qemu/slirp/src/version.c:8:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
Makefile:45: recipe for target '/home/ubuntu/qemu/build/all/slirp/src/version.o' failed

thanks
-- PMM