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
..
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 net: sctp: sctp_bind_addr: remove dead code 2013-04-17 14:13:02 -04:00
chunk.c
command.c
debug.c
endpointola.c net: sctp: cache auth_enable per endpoint 2014-05-30 21:52:15 -07:00
input.c net: sctp: rfc4443: do not report ICMP redirects to user space 2013-10-13 16:08:29 -07:00
inqueue.c net: sctp: fix remote memory pressure from excessive queueing 2014-11-21 09:22:55 -08:00
ipv6.c sctp: fully initialize the IPv6 address in sctp_v6_to_addr() 2019-07-27 21:44:28 +02:00
Kconfig
Makefile
objcnt.c seq_file: remove "%n" usage from seq_file users 2014-06-02 14:20:27 -07:00
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
probe.c net: sctp: attribute printl with __printf for gcc fmt checks 2013-05-01 15:04:10 -04:00
proc.c
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 net: sctp: sctp_ssnmap: remove 'malloced' element from struct 2013-04-17 14:13:02 -04:00
sysctl.c net: sctp: check proc_dointvec result in proc_sctp_do_auth 2014-07-28 08:00:04 -07:00
transport.c net: sctp: sctp_transport: remove unused variable 2013-04-17 14:13:02 -04:00
tsnmap.c
ulpevent.c net: sctp: fix information leaks in ulpevent layer 2014-07-28 08:00:05 -07:00
ulpqueue.c net: sctp: sctp_ulpq: remove 'malloced' struct member 2013-04-17 14:13:02 -04:00