android_kernel_google_msm/net/sctp
Vlad Yasevich f3ce845cfe sctp: Perform software checksum if packet has to be fragmented.
[ Upstream commit d2dbbba77e ]

IP/IPv6 fragmentation knows how to compute only TCP/UDP checksum.
This causes problems if SCTP packets has to be fragmented and
ipsummed has been set to PARTIAL due to checksum offload support.
This condition can happen when retransmitting after MTU discover,
or when INIT or other control chunks are larger then MTU.
Check for the rare fragmentation condition in SCTP and use software
checksum calculation in this case.

CC: Fan Du <fan.du@windriver.com>
Signed-off-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-04 04:23:41 -08:00
..
associola.c sctp: don't break the loop while meeting the active_path so as to find the matched transport 2013-03-28 12:11:53 -07:00
auth.c net: sctp: sctp_auth_key_put: use kzfree instead of kfree 2013-05-01 09:41:08 -07:00
bind_addr.c net: Remove casts of void * 2011-06-16 23:19:27 -04:00
chunk.c sctp: fix -ENOMEM result with invalid user space pointer in sendto() syscall 2013-01-11 09:06:27 -08:00
command.c
debug.c sctp: remove completely unsed EMPTY state 2011-04-20 01:51:03 -07:00
endpointola.c net: sctp: sctp_endpoint_free: zero out secret key data 2013-02-14 10:49:06 -08:00
input.c sctp: Fix list corruption resulting from freeing an association on a list 2012-08-09 08:31:42 -07:00
inqueue.c
ipv6.c net: sctp: fix ipv6 ipsec encryption bug in sctp_v6_xmit 2013-10-13 15:42:47 -07:00
Kconfig
Makefile
objcnt.c
output.c sctp: Perform software checksum if packet has to be fragmented. 2013-11-04 04:23:41 -08:00
outqueue.c sctp: fully initialize sctp_outq in sctp_outq_init 2013-08-11 15:38:44 -07:00
primitive.c
probe.c
proc.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
protocol.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2011-12-23 17:13:56 -05:00
sm_make_chunk.c sctp: fasthandoff with ASCONF at mobile-node 2011-11-08 15:11:29 -05:00
sm_sideeffect.c Revert "sctp: fix call to SCTP_CMD_PROCESS_SACK in sctp_cmd_interpreter()" 2013-10-01 09:10:50 -07:00
sm_statefuns.c sctp: Use correct sideffect command in duplicate cookie handling 2013-03-28 12:11:53 -07:00
sm_statetable.c sctp: Enforce retransmission limit during shutdown 2011-07-07 14:08:44 -07:00
socket.c net: sctp: fix smatch warning in sctp_send_asconf_del_ip 2013-10-13 15:42:47 -07:00
ssnmap.c
sysctl.c sctp: fix incorrect overflow check on autoclose 2011-12-19 16:25:46 -05:00
transport.c sctp: check cached dst before using it 2012-05-10 23:15:47 -04:00
tsnmap.c
ulpevent.c sctp: ABORT if receive, reassmbly, or reodering queue is not empty while closing socket 2011-07-08 09:53:08 -07:00
ulpqueue.c