From: Wei Yongjun Date: Tue, 17 Dec 2013 02:42:09 +0000 (+0800) Subject: xen-netback: fix some error return code X-Git-Tag: v3.13-rc7~13^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8d087c04cdcef501064552149289866e53aa6c;p=pandora-kernel.git xen-netback: fix some error return code 'err' is overwrited to 0 after maybe_pull_tail() call, so the error code was not set if skb_partial_csum_set() call failed. Fix to return error -EPROTO from those error handling case instead of 0. Fixes: d52eb0d46f36 ('xen-netback: make sure skb linear area covers checksum field') Signed-off-by: Wei Yongjun Acked-by: Wei Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed