[ 019/108] macvtap: zerocopy: set SKBTX_DEV_ZEROCOPY only when skb is built successfully

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit 01d6657b388438def19c8baaea28e742b6ed32ec upstream. Current the SKBTX_DEV_ZEROCOPY is set unconditionally after zerocopy_sg_from_iovec(), this would lead NULL pointer when

[ 019/108] macvtap: zerocopy: set SKBTX_DEV_ZEROCOPY only when skb is built successfully

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang jasow...@redhat.com commit 01d6657b388438def19c8baaea28e742b6ed32ec upstream. Current the SKBTX_DEV_ZEROCOPY is set unconditionally after zerocopy_sg_from_iovec(), this would lead