summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorAnton Blanchard2011-09-07 16:41:06 +0200
committerDavid S. Miller2011-09-16 21:26:32 +0200
commitfb82fd204b6e6c67661bbd37df032edafb2da56e (patch)
treea97071b481dd80b553b98e2158c951e618cecb80 /net/sctp/sm_sideeffect.c
parentibmveth: Checksum offload is always disabled (diff)
downloadkernel-qcow2-linux-fb82fd204b6e6c67661bbd37df032edafb2da56e.tar.gz
kernel-qcow2-linux-fb82fd204b6e6c67661bbd37df032edafb2da56e.tar.xz
kernel-qcow2-linux-fb82fd204b6e6c67661bbd37df032edafb2da56e.zip
ibmveth: Fix checksum offload failure handling
Fix a number of issues in ibmveth_set_csum_offload: - set_attr6 and clr_attr6 may be used uninitialised - We store the result of the IPV4 checksum change in ret but overwrite it in a couple of places before checking it again later. Add ret4 to make it obvious what we are doing. - We weren't clearing the NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM flags if the enable of that hypervisor feature failed. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
0 files changed, 0 insertions, 0 deletions