[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131217094936.GA26994@zion.uk.xensource.com>
Date: Tue, 17 Dec 2013 09:49:36 +0000
From: Wei Liu <wei.liu2@...rix.com>
To: Wei Yongjun <weiyj.lk@...il.com>
CC: <Ian.Campbell@...rix.com>, <wei.liu2@...rix.com>,
<yongjun_wei@...ndmicro.com.cn>, <xen-devel@...ts.xenproject.org>,
<netdev@...r.kernel.org>, <davem@...emloft.net>
Subject: Re: [PATCH v2] xen-netback: fix some error return code
On Tue, Dec 17, 2013 at 10:42:09AM +0800, Wei Yongjun wrote:
> '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 <yongjun_wei@...ndmicro.com.cn>
Acked-by: Wei Liu <wei.liu2@...rix.com>
This makes sense. This patch applies to 'net' tree. You should specify
'net' or 'net-next' tree in subject line for your future patch. You can
find relevant infomation in netdev-FAQ.txt in kernel documentation
directory.
Thanks
Wei.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists