qemu/slirp
Thomas Huth e5857062a6 slirp: Remove superfluous memset() calls from the TFTP code
Commit fad7fb9ccd  ("Add IPv6 support to the TFTP code")
refactored some common code for preparing the mbuf into a new
function called tftp_prep_mbuf_data(). One part of this common
code is to do a "memset(m->m_data, 0, m->m_size);" for the related
buffer first. However, at two spots, the memset() was not removed
from the calling function, so it currently done twice in these code
paths. Thus let's delete these superfluous memsets in the calling
functions now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2016-07-03 23:59:42 +02:00
..
arp_table.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
bootp.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
bootp.h
cksum.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
COPYRIGHT
debug.h
dnssearch.c slirp: Use DIV_ROUND_UP 2016-06-07 18:19:25 +03:00
if.c Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
if.h slirp: Factorizing tcpiphdr structure with an union 2016-03-15 10:35:11 +01:00
ip.h
ip6.h slirp: Add dns6 resolution 2016-07-03 23:27:08 +02:00
ip6_icmp.c slirp: Add RDNSS advertisement 2016-07-03 23:31:12 +02:00
ip6_icmp.h slirp: Add RDNSS advertisement 2016-07-03 23:31:12 +02:00
ip6_input.c slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
ip6_output.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
ip_icmp.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
ip_icmp.h slirp: Fix ICMP error sending 2016-03-15 10:35:02 +01:00
ip_input.c slirp: Clean up osdep.h related header inclusions 2016-05-16 21:01:16 +02:00
ip_output.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
libslirp.h slirp: Support link-local DNS addresses 2016-07-03 23:29:13 +02:00
main.h
Makefile.objs slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
mbuf.c Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
mbuf.h Use C99 flexible array instead of 1-byte trailing array 2016-03-29 01:15:02 +02:00
misc.c slirp: Remove obsolete backward-compatibility cruft 2016-05-16 20:58:47 +02:00
misc.h Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
ndp_table.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
sbuf.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
sbuf.h
slirp.c slirp: Support link-local DNS addresses 2016-07-03 23:29:13 +02:00
slirp.h all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
slirp_config.h slirp: Remove obsolete backward-compatibility cruft 2016-05-16 20:58:47 +02:00
socket.c slirp: Support link-local DNS addresses 2016-07-03 23:29:13 +02:00
socket.h slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp.h slirp: Handle IPv6 in TCP functions 2016-03-15 10:35:19 +01:00
tcp_input.c wxx: Fix broken TCP networking (regression) 2016-04-15 19:35:17 +02:00
tcp_output.c slirp: Handle IPv6 in TCP functions 2016-03-15 10:35:19 +01:00
tcp_subr.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp_timer.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
tcp_timer.h
tcp_var.h
tcpip.h slirp: Handle IPv6 in TCP functions 2016-03-15 10:35:19 +01:00
tftp.c slirp: Remove superfluous memset() calls from the TFTP code 2016-07-03 23:59:42 +02:00
tftp.h slirp: Add IPv6 support to the TFTP code 2016-03-15 17:05:34 +01:00
udp.c slirp: Add IPv6 support to the TFTP code 2016-03-15 17:05:34 +01:00
udp.h slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
udp6.c slirp: Clean up osdep.h related header inclusions 2016-05-16 21:01:16 +02:00