qemu/net
Peter Lieven 47f9f15831 net: limit allocation in nc_sendv_compat
we only need to allocate enough memory to hold the packet. This might be
less than NET_BUFSIZE. Additionally fail early if the packet is larger
than NET_BUFSIZE.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-09-27 17:54:22 +08:00
..
Makefile.objs filter-rewriter: introduce filter-rewriter initialization 2016-09-27 17:54:22 +08:00
checksum.c
clients.h
colo-compare.c colo-compare: add TCP, UDP, ICMP packet comparison 2016-09-27 17:54:22 +08:00
colo.c filter-rewriter: rewrite tcp packet to keep secondary connection 2016-09-27 17:54:22 +08:00
colo.h filter-rewriter: rewrite tcp packet to keep secondary connection 2016-09-27 17:54:22 +08:00
dump.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
eth.c
filter-buffer.c
filter-mirror.c
filter-rewriter.c filter-rewriter: rewrite tcp packet to keep secondary connection 2016-09-27 17:54:22 +08:00
filter.c qtail: clean up direct access to tqe_prev field 2016-09-13 19:08:41 +02:00
hub.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
hub.h
l2tpv3.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
net.c net: limit allocation in nc_sendv_compat 2016-09-27 17:54:22 +08:00
netmap.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
queue.c
slirp.c slirp: fix segv when init failed 2016-08-22 15:20:32 +08:00
socket.c Change net/socket.c to use socket_*() functions 2016-09-14 12:25:14 +02:00
tap-aix.c
tap-bsd.c
tap-haiku.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-win32.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
tap.c tap: Allow specifying a bridge 2016-09-27 17:54:22 +08:00
tap_int.h
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
util.c
util.h
vde.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
vhost-user.c vhost-user: wait until backend init is completed 2016-07-29 00:33:49 +03:00