qemu-e2k/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
..
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
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
hub.c
hub.h
l2tpv3.c
Makefile.objs filter-rewriter: introduce filter-rewriter initialization 2016-09-27 17:54:22 +08:00
net.c net: limit allocation in nc_sendv_compat 2016-09-27 17:54:22 +08:00
netmap.c
queue.c
slirp.c
socket.c Change net/socket.c to use socket_*() functions 2016-09-14 12:25:14 +02:00
tap_int.h
tap-aix.c
tap-bsd.c
tap-haiku.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-win32.c
tap.c tap: Allow specifying a bridge 2016-09-27 17:54:22 +08:00
trace-events
util.c
util.h
vde.c
vhost-user.c