xen-netback: fix fragments error handling in checksum_setup_ip()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 16 Dec 2013 02:45:05 +0000 (10:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 21:18:18 +0000 (16:18 -0500)
commit7022ef8b2a673db3d12a348331181f579afe9b22
tree964c7d9b0acb1a2bef6f288be65859bd3499e79c
parent53385d2d1de84f4036a0919ec46964c4e81b83f5
xen-netback: fix fragments error handling in checksum_setup_ip()

Fix to return -EPROTO error if fragments detected in checksum_setup_ip().

Fixes: 1431fb31ecba ('xen-netback: fix fragment detection in checksum setup')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c