net: move the tap buffer into TAPState
commit5b01e886d9eb4d5e94384a79634dcb43848e7bbf
authorMark McLoughlin <markmc@redhat.com>
Mon, 18 May 2009 11:05:44 +0000 (18 12:05 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 9 Jun 2009 10:38:49 +0000 (9 11:38 +0100)
tree33ebabea9cfe1feed3d1c9b0b6ac6dc6d38bcaa7
parent5a6d88157420d7f10b46270edabbeed11ee4ebe5
net: move the tap buffer into TAPState

KVM uses a 64k buffer for reading from tapfd (for GSO support)
and allocates the buffer with TAPState rather than on the stack.

Not allocating it on the stack probably makes sense for qemu
anyway, so merge it in advance of GSO support.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
net.c