summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2013-12-17 03:42:09 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-19 20:58:47 +0100
commit0c8d087c04cdcef501064552149289866e53aa6c (patch)
tree2e3db99af1b6eace9d853e2f3c4209acfc3e64a7 /drivers/net/hamradio
parentnet: inet_diag: zero out uninitialized idiag_{src,dst} fields (diff)
downloadlinux-0c8d087c04cdcef501064552149289866e53aa6c.tar.xz
linux-0c8d087c04cdcef501064552149289866e53aa6c.zip
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 <yongjun_wei@trendmicro.com.cn> Acked-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions