android_kernel_samsung_msm8976/net/sctp
Xin Long 8e90e181f1 sctp: fix a type cast warnings that causes a_rwnd gets the wrong value
commit f6fc6bc0b8e0bb13a210bd7386ffdcb1a5f30ef1 upstream.

These warnings were found by running 'make C=2 M=net/sctp/'.

Commit d4d6fb5787 ("sctp: Try not to change a_rwnd when faking a
SACK from SHUTDOWN.") expected to use the peers old rwnd and add
our flight size to the a_rwnd. But with the wrong Endian, it may
not work as well as expected.

So fix it by converting to the right value.

Fixes: d4d6fb5787 ("sctp: Try not to change a_rwnd when faking a SACK from SHUTDOWN.")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-27 21:45:39 +02:00
..
Kconfig net, sctp: remove CONFIG_EXPERIMENTAL 2013-02-13 13:57:27 -05:00
Makefile
associola.c net: sctp: rework multihoming retransmission path selection to rfc4960 2019-07-27 21:43:20 +02:00
auth.c sctp: translate host order to network order when setting a hmacid 2016-01-22 19:47:51 -08:00
bind_addr.c
chunk.c sctp: fix -ENOMEM result with invalid user space pointer in sendto() syscall 2012-11-28 11:11:17 -05:00
command.c [SCTP]: Remove sctp_add_cmd_sf wrapper bloat 2008-03-27 17:54:29 -07:00
debug.c sctp: remove completely unsed EMPTY state 2011-04-20 01:51:03 -07:00
endpointola.c
input.c
inqueue.c
ipv6.c sctp: fully initialize the IPv6 address in sctp_v6_to_addr() 2019-07-27 21:44:28 +02:00
objcnt.c
output.c sctp: Fix race between OOTB responce and route removal 2015-07-10 10:40:21 -07:00
outqueue.c sctp: fully initialize sctp_outq in sctp_outq_init 2013-06-13 18:05:24 -07:00
primitive.c sctp: Push struct net down to sctp_chunk_event_lookup 2012-08-14 23:30:37 -07:00
probe.c
proc.c sctp: Add buffer utilization fields to /proc/net/sctp/assocs 2013-04-16 16:43:34 -04:00
protocol.c sctp: fix race on protocol/netns initialization 2015-10-01 12:07:38 +02:00
sm_make_chunk.c net: sctp: fix passing wrong parameter header to param_type2af in sctp_process_param 2015-02-26 17:48:49 -08:00
sm_sideeffect.c sctp: fix a type cast warnings that causes a_rwnd gets the wrong value 2019-07-27 21:45:39 +02:00
sm_statefuns.c This is the 3.10.96 stable release 2017-04-18 17:16:02 +02:00
sm_statetable.c
socket.c sctp: listen on the sock only when it's state is listening or closed 2019-07-27 21:44:08 +02:00
ssnmap.c
sysctl.c net: sctp: check proc_dointvec result in proc_sctp_do_auth 2014-07-28 08:00:04 -07:00
transport.c
tsnmap.c
ulpevent.c net: sctp: fix information leaks in ulpevent layer 2014-07-28 08:00:05 -07:00
ulpqueue.c