sctp: fix some type cast warnings introduced by transport rhashtable
authorXin Long <lucien.xin@gmail.com>
Sat, 28 Oct 2017 11:43:55 +0000 (19:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 09:03:24 +0000 (18:03 +0900)
commit8d32503efde82db4e0a370981e90628ebd6718b5
treebf7488296ff1317d4ed77c8129795a9b54d28710
parent1da4fc97cbf89514e417a3df46eaec864a9b8a48
sctp: fix some type cast warnings introduced by transport rhashtable

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

They are introduced by not aware of Endian for the port when
coding transport rhashtable patches.

Fixes: 7fda702f9315 ("sctp: use new rhlist interface on sctp transport rhashtable")
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>
net/sctp/input.c