Staging: hv: don't use dynamic sized array
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 27 Apr 2010 20:23:47 +0000 (16:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:38 +0000 (11:35 -0700)
commitc6fcf0baa6367fecd3e025253700b64ccff8c1eb
tree6ad8dd2e04e1ac52e108e30ac4080157aece61aa
parenta5729c005c35ce5b7b8cdbe407c0d0dedf4991dd
Staging: hv: don't use dynamic sized array

NetVscOnChannelCallback() used a dynamic sized array that also made
the frame size over 2048.  Replace it with a buffer allocated from
kzalloc.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/NetVsc.c
drivers/staging/hv/NetVsc.h