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
chunk.c
command.c
debug.c
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
Kconfig
Makefile
objcnt.c
output.c
outqueue.c
primitive.c
probe.c
proc.c
protocol.c sctp: fix race on protocol/netns initialization 2015-10-01 12:07:38 +02:00
sm_make_chunk.c
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
transport.c
tsnmap.c
ulpevent.c
ulpqueue.c