From: Petr Vandrovec Date: Mon, 14 May 2007 05:14:44 +0000 (-0700) Subject: ieee1394: raw1394: Fix async send X-Git-Tag: v2.6.22-rc4~97^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976da96a5d4fe84bd292b950e566325dc3e5904e;p=pandora-kernel.git ieee1394: raw1394: Fix async send While playing with libiec61883 I've noticed that async_send is broken because it was doing copy_from_user(...., packet->data_size) before packet->data_size was set to any useful value. It got broken when packet->allocated_data_size got introduced, as hpsb_alloc_packet does not set packet->data_size anymore. (Regression in 2.6.22-rc1) Signed-off-by: Petr Vandrovec Signed-off-by: Stefan Richter --- Reading git-diff-tree failed